anmolnar commented on code in PR #2270: URL: https://github.com/apache/zookeeper/pull/2270#discussion_r2213461306
########## zookeeper-server/src/main/java/org/apache/zookeeper/common/ClientX509Util.java: ########## @@ -79,7 +79,11 @@ public SslContext createNettySslContextForClient(ZKConfig config) sslContextBuilder.trustManager(tm); } - sslContextBuilder.enableOcsp(config.getBoolean(getSslOcspEnabledProperty())); + SslProvider sslProvider = getSslProvider(config); + sslContextBuilder.sslProvider(sslProvider); + if (sslProvider == SslProvider.OPENSSL || sslProvider == SslProvider.OPENSSL_REFCNT) { Review Comment: If it errors out only for JRE provider, why don't we check the other way around like `provider != JDK`? But anyways, let's keep this check if there's no better way. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org