gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: HTTPS tests: improve


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: HTTPS tests: improved compatibility with some platforms/libcurl versions
Date: Sun, 09 Apr 2017 17:13:48 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 9d9a9a3f HTTPS tests: improved compatibility with some 
platforms/libcurl versions
9d9a9a3f is described below

commit 9d9a9a3f00a5a26c5ffc89874eda6e6f29d4e66e
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun Apr 9 18:08:05 2017 +0300

    HTTPS tests: improved compatibility with some platforms/libcurl versions
---
 src/testcurl/https/tls_test_common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/testcurl/https/tls_test_common.c 
b/src/testcurl/https/tls_test_common.c
index 29aa6449..728842e0 100644
--- a/src/testcurl/https/tls_test_common.c
+++ b/src/testcurl/https/tls_test_common.c
@@ -104,7 +104,8 @@ test_daemon_get (void *cls,
   /* perform peer authentication */
   /* TODO merge into send_curl_req */
   curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, ver_peer);
-  curl_easy_setopt (c, CURLOPT_CAINFO, ca_cert_file_name);
+  if (ver_peer)
+    curl_easy_setopt (c, CURLOPT_CAINFO, ca_cert_file_name);
   curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0);
   curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
   

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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