Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-07-18 09:57:15 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-07-18 09:57:15 +0200
commit108a094755e5795269ddadb678120f307c1c5160 (patch)
tree0e746f28fce99c3501bbac27e1b986f9b162ab6d /core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch
parent52e414dcad8ec2765e88a0429174f50e42077ed9 (diff)
core/gpgme: fixes for some broken tests
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");