gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 169/173: url: Default the CA proxy bundle location


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 169/173: url: Default the CA proxy bundle location to CURL_CA_BUNDLE
Date: Fri, 24 Feb 2017 14:03:11 +0100

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

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit 93cce2489db9289e17a4daaa58483d7bd94afffe
Author: Jay Satiro <address@hidden>
AuthorDate: Thu Feb 23 17:06:11 2017 -0500

    url: Default the CA proxy bundle location to CURL_CA_BUNDLE
    
    If the compile-time CURL_CA_BUNDLE location is defined use it as the
    default value for the proxy CA bundle location, which is the same as
    what we already do for the regular CA bundle location.
    
    Ref: https://github.com/curl/curl/pull/1257
---
 lib/url.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/url.c b/lib/url.c
index a78a2412f..38b9552f7 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -577,6 +577,10 @@ CURLcode Curl_init_userdefined(struct UserDefined *set)
   result = setstropt(&set->str[STRING_SSL_CAFILE_ORIG], CURL_CA_BUNDLE);
   if(result)
     return result;
+
+  result = setstropt(&set->str[STRING_SSL_CAFILE_PROXY], CURL_CA_BUNDLE);
+  if(result)
+    return result;
 #endif
 #if defined(CURL_CA_PATH)
   result = setstropt(&set->str[STRING_SSL_CAPATH_ORIG], CURL_CA_PATH);

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



reply via email to

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