Переглянути джерело

Windows and macOS use native transport.

Brucey 3 роки тому
батько
коміт
6bae18fdb5
1 змінених файлів з 6 додано та 2 видалено
  1. 6 2
      libcurl.mod/libcurl/lib/curl_config.h

+ 6 - 2
libcurl.mod/libcurl/lib/curl_config.h

@@ -1002,10 +1002,14 @@
 /* #undef USE_RUSTLS */
 
 /* to enable Windows native SSL/TLS support */
-/* #undef USE_SCHANNEL */
+#ifdef _WIN32
+#define USE_SCHANNEL 1
+#endif
 
 /* enable Secure Transport */
-/* #undef USE_SECTRANSP */
+#ifdef __APPLE__
+#define USE_SECTRANSP 1
+#endif
 
 /* if you want POSIX threaded DNS lookup */
 #define USE_THREADS_POSIX 1