mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
fixed last passphrase bug
This commit is contained in:
parent
1d4718a1a6
commit
2cd12c5c8f
13 changed files with 60 additions and 30 deletions
|
@ -532,7 +532,7 @@ generate_keypair()
|
|||
for(;;) {
|
||||
dek->algo = CIPHER_ALGO_BLOWFISH;
|
||||
s2k->mode = 1;
|
||||
s2k->hash_algo = DIGESTA_ALGO_RMD160;
|
||||
s2k->hash_algo = DIGEST_ALGO_RMD160;
|
||||
rc = make_dek_from_passphrase( dek , 2, s2k );
|
||||
if( rc == -1 ) {
|
||||
m_free(dek); dek = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue