From dac136d43095de67167f87549f5d032edfda8e34 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 13 Jul 2017 20:54:06 +0200 Subject: [PATCH] Fixed: Error 60 when creating an account under OS X --HG-- branch : develop --- code/ryzom/client/src/http_client_curl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/http_client_curl.cpp b/code/ryzom/client/src/http_client_curl.cpp index e19a435c9..fcead3e5e 100644 --- a/code/ryzom/client/src/http_client_curl.cpp +++ b/code/ryzom/client/src/http_client_curl.cpp @@ -166,8 +166,9 @@ bool CCurlHttpClient::verifyServer(bool verify) { nlwarning("Unable to support CURLOPT_SSL_CTX_FUNCTION, curl not compiled with OpenSSL ?"); } - // don't use that anymore, because CA can't be loaded from BNP and doesn't support UTF-8 under Windows - // curl_easy_setopt(_Curl, CURLOPT_CAINFO, path.c_str()); + + // set both CURLOPT_CAINFO and CURLOPT_CAPATH to NULL to be sure we won't use default values (these files can be missing and generate errors) + curl_easy_setopt(_Curl, CURLOPT_CAINFO, NULL); curl_easy_setopt(_Curl, CURLOPT_CAPATH, NULL); return true; }