Skip to content

Commit

Permalink
Merge pull request confluentinc#2 from ClickHouse-Extras/boringssl
Browse files Browse the repository at this point in the history
Port to BoringSSL
  • Loading branch information
alexey-milovidov authored Nov 8, 2020
2 parents 08251b8 + 9902bc4 commit fc0676f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rdkafka_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,10 @@ rd_kafka_transport_ssl_set_endpoint_id (rd_kafka_transport_t *rktrans,
ssl.endpoint_identification == RD_KAFKA_SSL_ENDPOINT_ID_NONE)
return 0;

#if OPENSSL_VERSION_NUMBER >= 0x10100000
#if 0 && OPENSSL_VERSION_NUMBER >= 0x10100000
if (!SSL_set1_host(rktrans->rktrans_ssl, name))
goto fail;
#elif OPENSSL_VERSION_NUMBER >= 0x1000200fL /* 1.0.2 */
#elif 1 || OPENSSL_VERSION_NUMBER >= 0x1000200fL /* 1.0.2 */
{
X509_VERIFY_PARAM *param;

Expand Down

0 comments on commit fc0676f

Please sign in to comment.