From 2f5cd530bd09306f174f4e7dd7ac871afabb515e Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Thu, 25 Jan 2024 14:15:33 -0500 Subject: [PATCH] Update Java Restricted Security Mode comment in java.security The Java Restricted Security Mode comment in java.security file should be presented on all platforms that have either NSS FIPS 140-2 or OpenJCEPlus FIPS 140-3 supported. Signed-off-by: Tao Liu --- src/java.base/share/conf/security/java.security | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java.base/share/conf/security/java.security b/src/java.base/share/conf/security/java.security index dc3bfbb65bf..634f29e6b1c 100644 --- a/src/java.base/share/conf/security/java.security +++ b/src/java.base/share/conf/security/java.security @@ -82,10 +82,12 @@ security.provider.tbd=Apple #endif security.provider.tbd=SunPKCS11 -#if defined linux-x86 || defined linux-ppc || defined linux-s390 +#if defined aix-ppc || defined linux-ppc || defined linux-s390 || defined linux-x86 || defined windows # # Java Restricted Security Mode # +#endif +#if defined linux-ppc || defined linux-s390 || defined linux-x86 RestrictedSecurity.NSS.140-2.desc.name = Red Hat Enterprise Linux 8 NSS Cryptographic Module FIPS 140-2 RestrictedSecurity.NSS.140-2.desc.default = true RestrictedSecurity.NSS.140-2.desc.fips = true