This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch branch-3.8
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.8 by this push:
     new edcc3c199 ZOOKEEPER-4393: [ADDENDUM] Turn off FIPS-mode by default on 
branch-3.8 (#2016)
edcc3c199 is described below

commit edcc3c1996bc1bb33178acf0f6ea2771864aa893
Author: Andor Molnár <[email protected]>
AuthorDate: Tue Jun 20 10:28:33 2023 +0200

    ZOOKEEPER-4393: [ADDENDUM] Turn off FIPS-mode by default on branch-3.8 
(#2016)
---
 .../src/main/java/org/apache/zookeeper/common/X509Util.java             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java 
b/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java
index 1b5cf6943..eaca8c20e 100644
--- a/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java
+++ b/zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java
@@ -258,7 +258,7 @@ public abstract class X509Util implements Closeable, 
AutoCloseable {
     }
 
     public boolean getFipsMode(ZKConfig config) {
-        return config.getBoolean(FIPS_MODE_PROPERTY, true);
+        return config.getBoolean(FIPS_MODE_PROPERTY, false);
     }
 
     public boolean isServerHostnameVerificationEnabled(ZKConfig config) {

Reply via email to