Set curl to use the Windows cert store
This commit is contained in:
parent
ad831a8384
commit
3ede5f42be
|
@ -128,6 +128,11 @@ KICAD_CURL_EASY::KICAD_CURL_EASY() :
|
|||
// Only allow HTTP and HTTPS protocols
|
||||
curl_easy_setopt( m_CURL, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS );
|
||||
|
||||
#ifdef _WIN32
|
||||
// We need to this to allow using the Windows Certificate store
|
||||
curl_easy_setopt( m_CURL, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA );
|
||||
#endif
|
||||
|
||||
wxPlatformInfo platformInfo;
|
||||
wxString application( Pgm().App().GetAppName() );
|
||||
wxString version( GetBuildVersion() );
|
||||
|
|
Loading…
Reference in New Issue