summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2015-09-02 21:02:07 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2015-09-02 21:02:07 +0000
commitbd3bee13f60eb25e7a33eeb7fcf1abf63ac7b527 (patch)
treeda14c8ea6268cfbbb140f7c663ebe3b89c30506b
parenta3c1dc758e750eb872b50b7f2034d4b8e514af3f (diff)
downloadneon-bd3bee13f60eb25e7a33eeb7fcf1abf63ac7b527.tar.gz
* test/ssl.c (fail_expired, fail_notvalid): Fix CA.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1967 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r--test/ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ssl.c b/test/ssl.c
index ec542e2..ece9a64 100644
--- a/test/ssl.c
+++ b/test/ssl.c
@@ -927,7 +927,7 @@ static int fail_nul_san(void)
static int fail_expired(void)
{
char *c = ne_concat(srcdir, "/expired.cert", NULL);
- CALL(fail_ssl_request_with_error(c, c, "localhost",
+ CALL(fail_ssl_request_with_error(c, CA_CERT, "localhost",
"expired certificate was accepted",
NE_SSL_EXPIRED,
"certificate has expired"));
@@ -938,7 +938,7 @@ static int fail_expired(void)
static int fail_notvalid(void)
{
char *c = ne_concat(srcdir, "/notyet.cert", NULL);
- CALL(fail_ssl_request_with_error(c, c, "localhost",
+ CALL(fail_ssl_request_with_error(c, CA_CERT, "localhost",
"not yet valid certificate was accepted",
NE_SSL_NOTYETVALID,
"certificate is not yet valid"));