aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-encrypt-sign.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2011-04-27 10:56:19 +0000
committerMarcus Brinkmann <[email protected]>2011-04-27 16:03:46 +0000
commit43f38db1afe9830b888076adeec1eec21f32335c (patch)
tree388b99bc09ea279d33a760a54011008c410d7a86 /tests/gpg/t-encrypt-sign.c
parentRequire autoconf 1.11 (diff)
downloadgpgme-43f38db1afe9830b888076adeec1eec21f32335c.tar.gz
gpgme-43f38db1afe9830b888076adeec1eec21f32335c.zip
Update GPGME test suite for use with GnuPG 2.1.
Diffstat (limited to 'tests/gpg/t-encrypt-sign.c')
-rw-r--r--tests/gpg/t-encrypt-sign.c3
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);