This is an automated email from the ASF dual-hosted git repository. symat pushed a commit to branch branch-3.6.4 in repository https://gitbox.apache.org/repos/asf/zookeeper.git
commit 8a88888c0317bcc7476f12a7d9fc1d293ec2a818 Author: Enrico Olivelli <[email protected]> AuthorDate: Thu Dec 15 13:15:52 2022 +0100 ZOOKEEPER-4641: GH CI fails with error: implicit declaration of function FIPS_mode Modifications: - remove the block, as it is used only for debug More details here: https://issues.apache.org/jira/browse/ZOOKEEPER-4641 Author: Enrico Olivelli <[email protected]> Reviewers: Andor Molnar <[email protected]>, Chris Nauroth <[email protected]>, Mate Szalay-Beko <[email protected]> Closes #1951 from eolivelli/fix/ZOOKEEPER-4641 (cherry picked from commit 50d5722dd3342530eae4a737d9759ec5f774c84b) Signed-off-by: Mate Szalay-Beko <[email protected]> --- zookeeper-client/zookeeper-client-c/src/zookeeper.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/zookeeper-client/zookeeper-client-c/src/zookeeper.c b/zookeeper-client/zookeeper-client-c/src/zookeeper.c index 89d61fb96..c28b18bbf 100644 --- a/zookeeper-client/zookeeper-client-c/src/zookeeper.c +++ b/zookeeper-client/zookeeper-client-c/src/zookeeper.c @@ -2592,11 +2592,6 @@ static int init_ssl_for_socket(zsock_t *fd, zhandle_t *zh, int fail_on_error) { OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL); method = TLS_client_method(); #endif - if (FIPS_mode() == 0) { - LOG_INFO(LOGCALLBACK(zh), "FIPS mode is OFF "); - } else { - LOG_INFO(LOGCALLBACK(zh), "FIPS mode is ON "); - } fd->ssl_ctx = SSL_CTX_new(method); ctx = &fd->ssl_ctx;
