mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
chnages done at the train
This commit is contained in:
parent
48a041279d
commit
6d21f2838d
19 changed files with 167 additions and 126 deletions
|
@ -210,7 +210,7 @@ hash_passphrase( DEK *dek, char *pw, STRING2KEY *s2k, int create )
|
|||
for(;;) {
|
||||
md_write( md, s2k->salt, 8 );
|
||||
md_write( md, pw, len );
|
||||
if( count < len2 )
|
||||
if( count <= len2 )
|
||||
break;
|
||||
count -= len2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue