aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-12-20 20:22:19 +0000
committerWerner Koch <[email protected]>2005-12-20 20:22:19 +0000
commitb1fb4f2fa6af0ebc3822e436a2c6e163c3c5687e (patch)
tree3531fdbdc51b822af3f9ad9d6afae0625a2ddc50 /tests/gpgsm
parent * Fixed a bug in that the fingerprints of subkeys are not available. (diff)
downloadgpgme-b1fb4f2fa6af0ebc3822e436a2c6e163c3c5687e.tar.gz
gpgme-b1fb4f2fa6af0ebc3822e436a2c6e163c3c5687e.zip
Basic PKA support.
Diffstat (limited to 'tests/gpgsm')
-rw-r--r--tests/gpgsm/t-keylist.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/gpgsm/t-keylist.c b/tests/gpgsm/t-keylist.c
index cd01aff3..79a61eaf 100644
--- a/tests/gpgsm/t-keylist.c
+++ b/tests/gpgsm/t-keylist.c
@@ -345,6 +345,13 @@ main (int argc, char **argv)
key->uids->next->uid);
exit (1);
}
+ if (key->uids->next && strcmp (key->uids->next->uid, keys[i].email))
+ {
+ fprintf (stderr, "Unexpected email in user ID: %s\n",
+ key->uids->next->uid);
+ exit (1);
+ }
+
gpgme_key_unref (key);