diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2015-09-02 21:02:07 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2015-09-02 21:02:07 +0000 |
commit | bd3bee13f60eb25e7a33eeb7fcf1abf63ac7b527 (patch) | |
tree | da14c8ea6268cfbbb140f7c663ebe3b89c30506b | |
parent | a3c1dc758e750eb872b50b7f2034d4b8e514af3f (diff) | |
download | neon-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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")); |