Merge pull request #2265 from philsmd/patch-7

fixes #2009: padding problem in -m 13400 tests
pull/2268/head
Jens Steube 4 years ago committed by GitHub
commit cb865cb05d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -299,6 +299,8 @@ sub module_generate_hash
$expected_bytes = $cipher->decrypt ($contents_hash);
$expected_bytes = substr ($expected_bytes . "\x00" x 32, 0, 32); # padding
$hash = sprintf ('$keepass$*%d*%d*%d*%s*%s*%s*%s*%s%s',
$version,
$iteration,

Loading…
Cancel
Save