trnguyencflt commented on code in PR #289:
URL: https://github.com/apache/directory-server/pull/289#discussion_r2221630463


##########
core/src/main/java/org/apache/directory/server/core/security/TlsKeyGenerator.java:
##########
@@ -90,12 +98,13 @@ public class TlsKeyGenerator
      * 
      *    http://www.apache.org/licenses/exports
      */
-    private static final int KEY_SIZE = 512;
+    private static final int KEY_SIZE = 1024;
     private static final long YEAR_MILLIS = 365L * 24L * 3600L * 1000L;
 
     static
     {
-        Security.addProvider( new BouncyCastleProvider() );
+        System.out.println("Using a modified version of TlsKeyGenerator to 
ensure Bouncy Castle FIPS provider is used.");

Review Comment:
   Please use `LOG` for this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to