From 663a869147fb9264c3747a46da92b7878eeb4867 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 18 Dec 2010 12:14:50 +0100 Subject: Account for GNUTLS_E_PK_SIG_VERIFY_FAILED. --- tests/cve-2009-1415.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.1