mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
bug fix release
This commit is contained in:
parent
62f550bb0a
commit
3e0e8f884f
43 changed files with 1828 additions and 520 deletions
|
@ -223,8 +223,9 @@ hash_passphrase( DEK *dek, char *pw, STRING2KEY *s2k, int create )
|
|||
count -= len2;
|
||||
}
|
||||
if( count ) {
|
||||
if( count < 8 )
|
||||
if( count < 8 ) {
|
||||
md_write( md, s2k->salt, count );
|
||||
}
|
||||
else {
|
||||
md_write( md, s2k->salt, 8 );
|
||||
count -= 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue