diff options
author | Jakub Jelen <jjelen@redhat.com> | 2021-08-16 13:09:19 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-08-17 11:20:55 +0900 |
commit | 588b8bb6ef091db299ff2eade295d3119b62283a (patch) | |
tree | 8167cdfd3dff865c97e1dd1704da07432989fa09 /tests/pubkey.c | |
parent | 2ae56abd0eb60d755509d82155f52263bf2e37e8 (diff) | |
download | libgcrypt-588b8bb6ef091db299ff2eade295d3119b62283a.tar.gz |
tests: Avoid confusing 'success' on error message
* tests/pubkey.c (get_dsa_key_with_domain_new): Remove bogus "success"
on error.
--
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'tests/pubkey.c')
-rw-r--r-- | tests/pubkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pubkey.c b/tests/pubkey.c index 55f25442..3bbc77e7 100644 --- a/tests/pubkey.c +++ b/tests/pubkey.c @@ -530,7 +530,7 @@ get_dsa_key_with_domain_new (gcry_sexp_t *pkey, gcry_sexp_t *skey) if (in_fips_mode) { if (!rc) - die ("generating DSA key should fail in FIPS mode: %s\n", gcry_strerror (rc)); + die ("generating DSA key should fail in FIPS mode\n"); *pkey = NULL; *skey = NULL; return; |