Skip to content

Commit 1144910

Browse files
committed
Remove obsolete loadedProps variable from java/security/Security
19cfd727bf758 removed the variable, the FIPS code needs to reflect that. Issue eclipse-openj9/openj9#16740 Signed-off-by: Peter Shipton <[email protected]>
1 parent 269b60c commit 1144910

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/java.base/share/classes/java/security/Security.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
/*
2727
* ===========================================================================
28-
* (c) Copyright IBM Corp. 2022, 2022 All Rights Reserved
28+
* (c) Copyright IBM Corp. 2022, 2023 All Rights Reserved
2929
* ===========================================================================
3030
*/
3131

@@ -146,14 +146,12 @@ private static void initialize() {
146146
/*[ENDIF] CRIU_SUPPORT*/
147147

148148
// Load FIPS properties
149-
if (loadedProps) {
150-
boolean fipsEnabled = FIPSConfigurator.configureFIPS(props);
151-
if (sdebug != null) {
152-
if (fipsEnabled) {
153-
sdebug.println("FIPS mode enabled.");
154-
} else {
155-
sdebug.println("FIPS mode disabled.");
156-
}
149+
boolean fipsEnabled = FIPSConfigurator.configureFIPS(props);
150+
if (sdebug != null) {
151+
if (fipsEnabled) {
152+
sdebug.println("FIPS mode enabled.");
153+
} else {
154+
sdebug.println("FIPS mode disabled.");
157155
}
158156
}
159157
}

0 commit comments

Comments
 (0)