summaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-05-03 21:35:33 +0200
committerWerner Koch <wk@gnupg.org>1998-05-03 21:35:33 +0200
commit2cd12c5c8f507b5ef344cd7d400b585d05090285 (patch)
tree3a563a6c33c550cb1cdaa49a60e84c82299e1ac4 /g10/keygen.c
parentfixed passphrase bug from 0.2.16 (diff)
downloadgnupg2-2cd12c5c8f507b5ef344cd7d400b585d05090285.tar.xz
gnupg2-2cd12c5c8f507b5ef344cd7d400b585d05090285.zip
fixed last passphrase bug
Diffstat (limited to 'g10/keygen.c')
-rw-r--r--g10/keygen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index 1d3f9004e..bcef7528a 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -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;