summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-12-18 12:14:50 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-12-18 12:14:50 +0100
commit663a869147fb9264c3747a46da92b7878eeb4867 (patch)
tree9c032d179e83ea1745e5defc8c67b1e6e6da606b
parentaa32bcbffbba694a798a2e39f5ab0a5fb3548180 (diff)
downloadgnutls-663a869147fb9264c3747a46da92b7878eeb4867.tar.gz
Account for GNUTLS_E_PK_SIG_VERIFY_FAILED.
-rw-r--r--tests/cve-2009-1415.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cve-2009-1415.c b/tests/cve-2009-1415.c
index 2a20178c5c..d1e23c5e2b 100644
--- a/tests/cve-2009-1415.c
+++ b/tests/cve-2009-1415.c
@@ -92,7 +92,7 @@ main (void)
return 1;
ret = gnutls_x509_crt_verify_data (crt, 0, &data, &sig);
- if (ret < 0)
+ if (ret < 0 && ret != GNUTLS_E_PK_SIG_VERIFY_FAILED)
return 1;
//printf ("success!\n");