This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.2.x by this push:
new 90d523036a [9.2.x] Fix setting TLS groups with BoringSSL (#11846)
90d523036a is described below
commit 90d523036a049033444c54a57d06cfe44a97f8ac
Author: Masaori Koshiba <[email protected]>
AuthorDate: Tue Dec 3 10:04:14 2024 +0900
[9.2.x] Fix setting TLS groups with BoringSSL (#11846)
---
iocore/net/SSLUtils.cc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index f3c87e1ed5..e0c0373bc6 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -1578,7 +1578,6 @@ SSLMultiCertConfigLoader::_set_cipher_suites(SSL_CTX *ctx)
bool
SSLMultiCertConfigLoader::_set_curves(SSL_CTX *ctx)
{
-#if defined(SSL_CTX_set1_groups_list) || defined(SSL_CTX_set1_curves_list)
if (this->_params->server_groups_list != nullptr) {
#ifdef SSL_CTX_set1_groups_list
if (!SSL_CTX_set1_groups_list(ctx, this->_params->server_groups_list)) {
@@ -1589,7 +1588,7 @@ SSLMultiCertConfigLoader::_set_curves(SSL_CTX *ctx)
return false;
}
}
-#endif
+
return true;
}