diff options
author | Werner Koch <[email protected]> | 2008-12-11 17:44:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-12-11 17:44:52 +0000 |
commit | 6558568912d600f6c1f66a9dda457ce9264ce1cd (patch) | |
tree | ecdd1f8288b2b3f2a5a19fb4d0b3f274005fdde2 /g10/keygen.c | |
parent | Add option --no-ask for GET_PASSPHRASE. (diff) | |
download | gnupg-6558568912d600f6c1f66a9dda457ce9264ce1cd.tar.gz gnupg-6558568912d600f6c1f66a9dda457ce9264ce1cd.zip |
Make gpg not depend on the RIPE-MD160 implementaion in Libgcrypt.
Fix SIG_ID computation.
Diffstat (limited to '')
-rw-r--r-- | g10/keygen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c index f0de2fbf3..d60578640 100644 --- a/g10/keygen.c +++ b/g10/keygen.c @@ -352,7 +352,8 @@ keygen_set_std_prefs (const char *string,int personal) strcat(dummy_string,"H8 "); /* RIPEMD160 */ - strcat(dummy_string,"H3 "); + if (!openpgp_md_test_algo(DIGEST_ALGO_RMD160)) + strcat(dummy_string,"H3 "); /* ZLIB */ strcat(dummy_string,"Z2 "); |