libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit fc649c7bf3ba670371ff42d06bcdb48e50467c63
parent dde8624f97e62d0a720e325b2a274b6397c2f99f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu, 21 Apr 2022 13:33:07 +0300

test_https_sni: use CA certificate

Still disabled in the test itself, but it should not hurt to give
the proper CA if it is available.

Diffstat:
Msrc/testcurl/https/test_https_sni.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/testcurl/https/test_https_sni.c b/src/testcurl/https/test_https_sni.c @@ -209,6 +209,7 @@ do_get (const char *url, int port) curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 10L); curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); curl_easy_setopt (c, CURLOPT_FILE, &cbc); + curl_easy_setopt (c, CURLOPT_CAINFO, ABS_SRCDIR "/test-ca.crt"); /* perform peer authentication */ /* TODO merge into send_curl_req */