Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ public static boolean isInFipsMode() {
return DEFAULT_FIPS_MODE.equals(fipsMode);
}

public static boolean isInFipsApprovedOnlyMode() {
return isInFipsMode() && "true".equals(System.getProperty("org.bouncycastle.fips.approved_only"));
}

public static String getFipsMode() {
return fipsMode;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ public synchronized void start() {
logToProcessStdout("installed plugins");
}

if (FipsBuildParams.isInFipsMode() && keystorePassword.isEmpty()) {
if (FipsBuildParams.isInFipsApprovedOnlyMode() && keystorePassword.isEmpty()) {
throw new TestClustersException("Can not start " + this + " in FIPS JVM, missing keystore password");
}

Expand Down
Loading