fixup! gpgme: fix a test after disallowing compressed signatures
This commit is contained in:
parent
db6b3e0a5e
commit
1fc760419d
1 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
--- a/tests/gpg/t-verify.c
|
||||
+++ b/tests/gpg/t-verify.c
|
||||
@@ -304,7 +304,7 @@
|
||||
err = gpgme_data_new (&text);
|
||||
fail_if_err (err);
|
||||
err = gpgme_op_verify (ctx, sig, NULL, text);
|
||||
- if (gpgme_err_code (err) != GPG_ERR_BAD_DATA)
|
||||
+ if (gpgme_err_code (err) == GPG_ERR_NO_ERROR)
|
||||
{
|
||||
fprintf (stderr, "%s:%i: Double plaintext message not detected\n",
|
||||
PGM, __LINE__);
|
Loading…
Reference in a new issue