[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, ©Buffer);
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.
- [libmicrohttpd] branch master updated (4b6419b1 -> a3ce7049), gnunet, 2022/04/21
- [libmicrohttpd] 01/06: Updated .gitattributes, gnunet, 2022/04/21
- [libmicrohttpd] 02/06: Use HTTP/1.1 for all TLS tests, gnunet, 2022/04/21
- [libmicrohttpd] 03/06: test_https_sni: use certificates with SAN fields, gnunet, 2022/04/21
- [libmicrohttpd] 06/06: test_https_sni: limit to libcrul with certain TLS backends., gnunet, 2022/04/21
- [libmicrohttpd] 04/06: Updated test TLS certificate in test and examples, gnunet, 2022/04/21
- [libmicrohttpd] 05/06: test_https_sni: use CA certificate,
gnunet <=