gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 05/06: test_https_sni: use CA certificate


From: gnunet
Subject: [libmicrohttpd] 05/06: test_https_sni: use CA certificate
Date: Thu, 21 Apr 2022 12:40:46 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit fc649c7bf3ba670371ff42d06bcdb48e50467c63
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 21 13:33:07 2022 +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.
---
 src/testcurl/https/test_https_sni.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/testcurl/https/test_https_sni.c 
b/src/testcurl/https/test_https_sni.c
index a1272a18..cc7d1f43 100644
--- 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 */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]