diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-12-10 15:37:04 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-12-10 15:37:04 +0100 |
commit | 88c9a1fdffbb6472b604345eee1adc3c05ad383e (patch) | |
tree | 603121830ff7ef7a2dea9a46b4108bf27c39be4e /tests/cve-2008-4989.c | |
parent | 542b5fc962fdf5bdfaefd53f0e9f481d7059c70f (diff) | |
download | gnutls-88c9a1fdffbb6472b604345eee1adc3c05ad383e.tar.gz |
Align with Nikos' patch.
Diffstat (limited to 'tests/cve-2008-4989.c')
-rw-r--r-- | tests/cve-2008-4989.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cve-2008-4989.c b/tests/cve-2008-4989.c index e2e71a73a3..afce9d75f6 100644 --- a/tests/cve-2008-4989.c +++ b/tests/cve-2008-4989.c @@ -200,7 +200,7 @@ main (int argc, char *argv[]) error (EXIT_FAILURE, 0, "gnutls_x509_crt_list_verify[%d]: %s", i, gnutls_strerror (ret)); - if (verify_status != GNUTLS_CERT_INVALID) + if (verify_status != (GNUTLS_CERT_SIGNER_NOT_FOUND | GNUTLS_CERT_INVALID)) error (EXIT_FAILURE, 0, "verify_status: %d", verify_status); gnutls_x509_crt_deinit (ca); |