You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.3 KiB
29 lines
1.3 KiB
commit 1678726ca3198f0a495a26647cdc7c8ed2e3c709
|
|
Author: Joe Orton <jorton@redhat.com>
|
|
Date: Wed Aug 14 15:47:48 2019 +0100
|
|
|
|
* test/ssl.c: Update failures since the nul*.pem certs expired.
|
|
|
|
diff --git a/test/ssl.c b/test/ssl.c
|
|
index 870a3de..266b2a5 100644
|
|
--- a/test/ssl.c
|
|
+++ b/test/ssl.c
|
|
@@ -889,7 +889,7 @@ static int fail_nul_cn(void)
|
|
CALL(fail_ssl_request_with_error2(nul_cn_fn, key, ca,
|
|
"www.bank.com", "localhost",
|
|
"certificate with incorrect CN was accepted",
|
|
- NE_SSL_IDMISMATCH,
|
|
+ NE_SSL_IDMISMATCH|NE_SSL_EXPIRED|NE_SSL_BADCHAIN,
|
|
"certificate issued for a different hostname"));
|
|
ne_free(key);
|
|
ne_free(ca);
|
|
@@ -904,7 +904,7 @@ static int fail_nul_san(void)
|
|
CALL(fail_ssl_request_with_error2(cert, key, ca,
|
|
"www.bank.com", "localhost",
|
|
"certificate with incorrect CN was accepted",
|
|
- NE_SSL_IDMISMATCH,
|
|
+ NE_SSL_IDMISMATCH|NE_SSL_EXPIRED|NE_SSL_BADCHAIN,
|
|
"certificate issued for a different hostname"));
|
|
ne_free(cert);
|
|
ne_free(key);
|