From 581c78256e4f31a08b25d0ee5e7096c7048b73ef Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 27 Mar 2015 01:23:57 +0100 Subject: Fix space damage. --- cli/icevault | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/icevault b/cli/icevault index 992ee6a..cc95729 100755 --- a/cli/icevault +++ b/cli/icevault @@ -470,10 +470,10 @@ sub guessPasswordPage(@) { } } else { - if ($pw1->{value} eq $pw2->{value}) { + if ($pw1->{value} eq $pw2->{value}) { ($idx0, $idx1, $idx2) = (0, 1, 2); } - elsif ($pw0->{value} eq $pw1->{value}) { + elsif ($pw0->{value} eq $pw1->{value}) { ($idx0, $idx1, $idx2) = (2, 0, 1); } elsif ($pw0->{value} eq $pw2->{value}) { @@ -541,7 +541,7 @@ sub promptYN($;$) { # Get the SHA-256 digest of the given file. sub sha256_file($) { my $filename = shift; - + require 'Digest.pm'; my $sha256 = Digest->new('SHA-256'); open my $fh, '<', $filename or error "Can't open C<%s>: %s", $filename, $!; -- cgit v1.2.3