1 --- router/src/harness/src/tls_client_context.cc.orig 2024-04-10 06:26:28 UTC 2 +++ router/src/harness/src/tls_client_context.cc 3 @@ -104,7 +104,7 @@ stdx::expected<void, std::error_code> TlsClientContext 4 stdx::expected<void, std::error_code> TlsClientContext::cipher_suites( 5 const std::string &ciphers) { 6 // TLSv1.3 ciphers are controlled via SSL_CTX_set_ciphersuites() 7 -#if OPENSSL_VERSION_NUMBER >= ROUTER_OPENSSL_VERSION(1, 1, 1) 8 +#ifdef TLS1_3_VERSION 9 if (1 != SSL_CTX_set_ciphersuites(ssl_ctx_.get(), ciphers.c_str())) { 10 return stdx::unexpected(make_tls_error()); 11 } 12