SSL Support on Mac
Utilizes Darwin SSL (rather than OpenSSL). The configuration file that was built appears to be for Linux. Had to remove the CURL_CA_BUNDLE for certificate lookup to work.
This commit is contained in:
parent
1185a2fb46
commit
192aa8216b
@ -2,7 +2,7 @@
|
|||||||
/* lib/curl_config.h.in. Generated from configure.ac by autoheader. */
|
/* lib/curl_config.h.in. Generated from configure.ac by autoheader. */
|
||||||
|
|
||||||
/* Location of default ca bundle */
|
/* Location of default ca bundle */
|
||||||
#define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt"
|
/* #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" */
|
||||||
|
|
||||||
/* Location of default ca path */
|
/* Location of default ca path */
|
||||||
/* #undef CURL_CA_PATH */
|
/* #undef CURL_CA_PATH */
|
||||||
|
@ -20,7 +20,7 @@ project "curl-lib"
|
|||||||
defines {"HAVE_CONFIG_H", "CURL_HIDDEN_SYMBOLS"}
|
defines {"HAVE_CONFIG_H", "CURL_HIDDEN_SYMBOLS"}
|
||||||
|
|
||||||
configuration { 'macosx' }
|
configuration { 'macosx' }
|
||||||
defines { 'HAVE_CONFIG_H' }
|
defines { 'HAVE_CONFIG_H', 'USE_SSL', 'USE_DARWINSSL' }
|
||||||
|
|
||||||
configuration "Release"
|
configuration "Release"
|
||||||
defines {"NDEBUG"}
|
defines {"NDEBUG"}
|
||||||
|
@ -162,6 +162,9 @@
|
|||||||
configuration "macosx"
|
configuration "macosx"
|
||||||
defines { "LUA_USE_MACOSX" }
|
defines { "LUA_USE_MACOSX" }
|
||||||
links { "CoreServices.framework" }
|
links { "CoreServices.framework" }
|
||||||
|
if not _OPTIONS["no-curl"] then
|
||||||
|
links { "Security.framework" }
|
||||||
|
end
|
||||||
|
|
||||||
configuration { "macosx", "gmake" }
|
configuration { "macosx", "gmake" }
|
||||||
toolset "clang"
|
toolset "clang"
|
||||||
|
Reference in New Issue
Block a user