diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-11-12 10:43:13 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-11-12 10:43:13 +0100 |
commit | 6d92bc5e040bb8b544bb8ef43e9865d256504614 (patch) | |
tree | 9419e72008f3d31852ef189249daae3adfa52b55 /tests/cve-2008-4989.c | |
parent | 2de9d54256592195e6b1b04272802efa037ed1a8 (diff) | |
download | gnutls-6d92bc5e040bb8b544bb8ef43e9865d256504614.tar.gz |
Frob expected verify status code.
With latest verify.c patch it just say the chain is invalid, rather
than complaining about missing signer certificate. This is arguable
more correct.
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 7477fd6d15..3bbe59e493 100644 --- a/tests/cve-2008-4989.c +++ b/tests/cve-2008-4989.c @@ -196,7 +196,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 | GNUTLS_CERT_SIGNER_NOT_FOUND)) + if (verify_status != GNUTLS_CERT_INVALID) error (EXIT_FAILURE, 0, "verify_status: %d", verify_status); gnutls_x509_crt_deinit (ca); |