This commit is contained in:
git@daemon.de
2015-02-24 10:37:35 +01:00
parent e7471e1f6f
commit 766b8496c1
2 changed files with 4 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
NEXT:
1.17:
added license to META

View File

@@ -28,7 +28,7 @@ use Data::Dumper;
use Exporter ();
use vars qw(@ISA @EXPORT);
$Crypt::PWSafe3::VERSION = '1.17';
$Crypt::PWSafe3::VERSION = '1.18';
use Crypt::PWSafe3::Field;
use Crypt::PWSafe3::HeaderField;
@@ -298,7 +298,7 @@ sub read {
$this->hmac( $this->readbytes(32) );
my $calcmac = $this->{hmacer}->digest();
if ($calcmac ne $this->hmac) {
croak "File integrity check failed";
croak "File integrity check failed, invalid HMAC";
}
$this->{fd}->close();