gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 16/156: test_https_sni: use CA certificate


From: gnunet
Subject: [libmicrohttpd] 16/156: test_https_sni: use CA certificate
Date: Sun, 28 May 2023 17:51:09 +0200

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

karlson2k pushed a commit to tag v0.9.77
in repository libmicrohttpd.

commit f795558de37c888a3516835ffcf1f71125e352ed
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 2abb35d1..52b366db 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]