mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-15 04:44:00 +02:00
Enable SECURE_CIPHERS_ONLY with mbedTLS
This commit is contained in:
@@ -500,7 +500,7 @@ namespace http
|
||||
{
|
||||
curl_version_info_data *version_info = curl_version_info(CURLVERSION_NOW);
|
||||
ByteString ssl_type = version_info->ssl_version;
|
||||
if (ssl_type.Contains("OpenSSL"))
|
||||
if (ssl_type.Contains("OpenSSL") || ssl_type.Contains("mbedTLS"))
|
||||
{
|
||||
HandleCURLcode(curl_easy_setopt(easy, CURLOPT_SSL_CIPHER_LIST,
|
||||
"ECDHE-ECDSA-AES256-GCM-SHA384" ":"
|
||||
|
Reference in New Issue
Block a user