mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
vtls: deprioritize Secure Transport
Moved Secure Transport behind OpenSSL, so we can build CURL with both and prefer using OpenSSL over Secure Transport by default. Closes #13547
This commit is contained in:
parent
655d44d139
commit
810933d779
@ -1342,8 +1342,6 @@ const struct Curl_ssl *Curl_ssl =
|
||||
&Curl_ssl_multi;
|
||||
#elif defined(USE_WOLFSSL)
|
||||
&Curl_ssl_wolfssl;
|
||||
#elif defined(USE_SECTRANSP)
|
||||
&Curl_ssl_sectransp;
|
||||
#elif defined(USE_GNUTLS)
|
||||
&Curl_ssl_gnutls;
|
||||
#elif defined(USE_MBEDTLS)
|
||||
@ -1352,6 +1350,8 @@ const struct Curl_ssl *Curl_ssl =
|
||||
&Curl_ssl_rustls;
|
||||
#elif defined(USE_OPENSSL)
|
||||
&Curl_ssl_openssl;
|
||||
#elif defined(USE_SECTRANSP)
|
||||
&Curl_ssl_sectransp;
|
||||
#elif defined(USE_SCHANNEL)
|
||||
&Curl_ssl_schannel;
|
||||
#elif defined(USE_BEARSSL)
|
||||
@ -1364,9 +1364,6 @@ static const struct Curl_ssl *available_backends[] = {
|
||||
#if defined(USE_WOLFSSL)
|
||||
&Curl_ssl_wolfssl,
|
||||
#endif
|
||||
#if defined(USE_SECTRANSP)
|
||||
&Curl_ssl_sectransp,
|
||||
#endif
|
||||
#if defined(USE_GNUTLS)
|
||||
&Curl_ssl_gnutls,
|
||||
#endif
|
||||
@ -1376,6 +1373,9 @@ static const struct Curl_ssl *available_backends[] = {
|
||||
#if defined(USE_OPENSSL)
|
||||
&Curl_ssl_openssl,
|
||||
#endif
|
||||
#if defined(USE_SECTRANSP)
|
||||
&Curl_ssl_sectransp,
|
||||
#endif
|
||||
#if defined(USE_SCHANNEL)
|
||||
&Curl_ssl_schannel,
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user