fixup! gpgme: fix a test after disallowing compressed signatures

This commit is contained in:
Vladimír Čunát 2022-07-07 11:06:12 +02:00
parent db6b3e0a5e
commit 1fc760419d
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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__);