From b1fb4f2fa6af0ebc3822e436a2c6e163c3c5687e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 20 Dec 2005 20:22:19 +0000 Subject: Basic PKA support. --- tests/gpgsm/t-keylist.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests') 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); -- cgit v1.2.3