Use Windows native ssl instead of openssl.

Fixes #147

Change-Id: I41193adbab5cd979ca958131cd4f148dde5e1f2e
This commit is contained in:
Haoming Chen 2016-11-09 14:05:58 -08:00
parent e7c0dbf09d
commit 9ed8303a06
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,6 @@
'defines': [ 'defines': [
'HTTP_ONLY', 'HTTP_ONLY',
'USE_IPV6', 'USE_IPV6',
'USE_OPENSSL'
], ],
'include_dirs': [ 'include_dirs': [
'config', 'config',
@ -37,6 +36,7 @@
'defines': [ 'defines': [
'HAVE_CONFIG_H', 'HAVE_CONFIG_H',
'CURL_CA_BUNDLE="<!(config/linux/find_curl_ca_bundle.sh)"', 'CURL_CA_BUNDLE="<!(config/linux/find_curl_ca_bundle.sh)"',
'USE_OPENSSL',
], ],
'include_dirs': [ 'include_dirs': [
'config/linux', 'config/linux',
@ -51,6 +51,7 @@
'defines': [ 'defines': [
'HAVE_CONFIG_H', 'HAVE_CONFIG_H',
'CURL_CA_BUNDLE="<!(config/mac/find_curl_ca_bundle.sh)"', 'CURL_CA_BUNDLE="<!(config/mac/find_curl_ca_bundle.sh)"',
'USE_OPENSSL',
], ],
'include_dirs': [ 'include_dirs': [
'config/mac', 'config/mac',
@ -61,10 +62,13 @@
'direct_dependent_settings': { 'direct_dependent_settings': {
'defines': [ 'defines': [
'CURL_DISABLE_LDAP', 'CURL_DISABLE_LDAP',
'USE_SCHANNEL',
'USE_WINDOWS_SSPI',
], ],
'link_settings': { 'link_settings': {
'libraries': [ 'libraries': [
'-lws2_32.lib', '-lws2_32.lib',
'-lCrypt32.lib',
], ],
}, },
}, },