Remove compiler warning from test

--
This commit is contained in:
Werner Koch 2014-04-10 11:42:39 +02:00
parent 443f6b76a9
commit b788c36ec0

View File

@ -462,12 +462,9 @@ main (int argc, char **argv)
key->uids->next->email); key->uids->next->email);
exit (1); exit (1);
} }
/*FIXME: There is a bug in gpg 1.3.4 which duplicates a signaure /* Note: There is a bug in gpg 1.3.4 which duplicates a
after importing the secret key. We disable this test for signature after importing the secret key. Thus we disable
now. */ the second part of the check. */
#ifdef __GNUC__
#warning test disabled due to problems with gpg 1.3.4 generated key
#endif
if (key->uids && (!key->uids->next->signatures /*|| key->uids->next->signatures->next*/)) if (key->uids && (!key->uids->next->signatures /*|| key->uids->next->signatures->next*/))
{ {
fprintf (stderr, "Second user ID unexpected number of signatures\n"); fprintf (stderr, "Second user ID unexpected number of signatures\n");