summaryrefslogtreecommitdiff
path: root/core/gpgme/fix-gpg-test-t-edit-sign-signed_key_uids.patch
blob: dcf1f1bd9c966f3b61a86716c431eb12c0d711b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
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");