We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9040893 + ec8e800 commit a859574Copy full SHA for a859574
CHANGES
@@ -1,6 +1,8 @@
1
v3.x.y - YYYY-MMM-DD (to be released)
2
-------------------------------------
3
4
+ - Set the minimum security protocol version for SecRemoteRules
5
+ [Issue security/code-scanning/2 - @airween]
6
7
v3.0.11 - 2023-Dec-06
8
---------------------
src/utils/https_client.cc
@@ -87,8 +87,8 @@ bool HttpsClient::download(const std::string &uri) {
87
headers_chunk = curl_slist_append(headers_chunk, m_key.c_str());
88
}
89
90
- /* Make it TLS 1.x only. */
91
- curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
+ /* Make it TLS 1.2 at least. */
+ curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
92
93
/* those are the default options, but lets make sure */
94
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1);
0 commit comments