diff options
Diffstat (limited to '')
-rw-r--r-- | tests/gpg/t-encrypt-sign.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gpg/t-encrypt-sign.c b/tests/gpg/t-encrypt-sign.c index 9da5ff0d..9d003405 100644 --- a/tests/gpg/t-encrypt-sign.c +++ b/tests/gpg/t-encrypt-sign.c @@ -60,7 +60,8 @@ check_result (gpgme_sign_result_t result, gpgme_sig_mode_t type) result->signatures->pubkey_algo); exit (1); } - if (result->signatures->hash_algo != GPGME_MD_SHA1) + if (result->signatures->hash_algo != GPGME_MD_SHA1 + && result->signatures->hash_algo != GPGME_MD_RMD160) { fprintf (stderr, "Wrong hash algorithm reported: %i\n", result->signatures->hash_algo); |