Skip to content

Commit b0e5892

Browse files
author
Marc Stern
authored
Merge pull request #3040 from airween/v2/remoterulestls
Set the minimum security protocol version for SecRemoteRules
2 parents 6a3dc92 + b687f51 commit b0e5892

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
DD mmm YYYY - 2.9.x (to be released)
22
-------------------
33

4+
* Set the minimum security protocol version for SecRemoteRules
5+
[Issue security/code-scanning/2 - @airween]
46
* Allow lua version 5.4
57
[Issue #2996 - @3eka, @martinhsv]
68
* Configure: do not check for pcre1 if pcre2 requested

apache2/msc_remote_rules.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ int msc_remote_download_content(apr_pool_t *mp, const char *uri, const char *key
331331
headers_chunk = curl_slist_append(headers_chunk, header_key);
332332
}
333333

334-
/* Make it TLS 1.x only. */
335-
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
334+
/* Make it TLS 1.2 at least. */
335+
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
336336

337337
#ifdef WIN32
338338
res_len = SearchPathA(NULL, "curl-ca-bundle.crt", NULL, (2048 + 1), buf, &ptr);

0 commit comments

Comments
 (0)