You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by sy...@apache.org on 2022/12/15 12:17:36 UTC
[zookeeper] branch branch-3.6 updated: ZOOKEEPER-4641: GH CI fails with error: implicit declaration of function FIPS_mode
This is an automated email from the ASF dual-hosted git repository.
symat pushed a commit to branch branch-3.6
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.6 by this push:
new 5d8ef0368 ZOOKEEPER-4641: GH CI fails with error: implicit declaration of function FIPS_mode
5d8ef0368 is described below
commit 5d8ef0368d1b2294c2532635becbc6174cf937a9
Author: Enrico Olivelli <eo...@apache.org>
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 <en...@datastax.com>
Reviewers: Andor Molnar <an...@apache.org>, Chris Nauroth <cn...@apache.org>, Mate Szalay-Beko <sy...@apache.org>
Closes #1951 from eolivelli/fix/ZOOKEEPER-4641
(cherry picked from commit 50d5722dd3342530eae4a737d9759ec5f774c84b)
Signed-off-by: Mate Szalay-Beko <sy...@apache.org>
---
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;