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