summaryrefslogtreecommitdiff
path: root/core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch')
-rw-r--r--core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch b/core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch
new file mode 100644
index 00000000..dcf1f1bd
--- /dev/null
+++ b/core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch
@@ -0,0 +1,12 @@
+diff -rauN a/tests/gpg/t-edit-sign.c b/tests/gpg/t-edit-sign.c
+--- a/tests/gpg/t-edit-sign.c 2021-06-24 18:05:12.000000000 +0200
++++ b/tests/gpg/t-edit-sign.c 2021-07-18 09:43:58.310772661 +0200
+@@ -168,7 +168,7 @@
+ err = gpgme_get_key (ctx, key_fpr, &signed_key, 0);
+ fail_if_err (err);
+
+- signed_uid = key->uids;
++ signed_uid = signed_key->uids;
+ if (!signed_uid)
+ {
+ fprintf (stderr, "Signed key has no user IDs\n");