summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Olivelli <eolivelli@apache.org>2022-12-15 13:15:52 +0100
committerMate Szalay-Beko <symat@apache.org>2022-12-15 13:15:52 +0100
commit50d5722dd3342530eae4a737d9759ec5f774c84b (patch)
tree61eba76db4f5d0c73bca5fd9d1404a0794eb06bc
parent21a707b73e588a7bfc53dfcacaa14f5a1b386159 (diff)
downloadzookeeper-50d5722dd3342530eae4a737d9759ec5f774c84b.tar.gz
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 <enrico.olivelli@datastax.com> Reviewers: Andor Molnar <andor@apache.org>, Chris Nauroth <cnauroth@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1951 from eolivelli/fix/ZOOKEEPER-4641
-rw-r--r--zookeeper-client/zookeeper-client-c/src/zookeeper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/zookeeper-client/zookeeper-client-c/src/zookeeper.c b/zookeeper-client/zookeeper-client-c/src/zookeeper.c
index 0dac4c3d0..74b047171 100644
--- a/zookeeper-client/zookeeper-client-c/src/zookeeper.c
+++ b/zookeeper-client/zookeeper-client-c/src/zookeeper.c
@@ -2751,11 +2751,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;