This is an automated email from the ASF dual-hosted git repository.
symat pushed a commit to branch branch-3.7
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/branch-3.7 by this push:
new 1270a287e ZOOKEEPER-4641: GH CI fails with error: implicit declaration
of function FIPS_mode
1270a287e is described below
commit 1270a287eaa23edebd7bb6296ff782dbf3f2f212
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 104a8cb4e..c1794d5bb 100644
--- a/zookeeper-client/zookeeper-client-c/src/zookeeper.c
+++ b/zookeeper-client/zookeeper-client-c/src/zookeeper.c
@@ -2749,11 +2749,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;