Skip to content

Commit

Permalink
Merge pull request #714 from taoliult/fips
Browse files Browse the repository at this point in the history
Add Redhat NSS FIPS support on p/z linux platforms
  • Loading branch information
pshipton authored Dec 1, 2023
2 parents f0b134b + 2691913 commit 1198d49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public final class RestrictedSecurity {

private static RestrictedSecurityProperties restricts;

private static final List<String> supportPlatforms = Arrays.asList("amd64");
private static final List<String> supportPlatforms = Arrays.asList("amd64", "ppc64le", "s390x");

static {
@SuppressWarnings("removal")
Expand Down
6 changes: 3 additions & 3 deletions closed/make/CopyFiles.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ===========================================================================
# (c) Copyright IBM Corp. 2017, 2022 All Rights Reserved
# (c) Copyright IBM Corp. 2017, 2023 All Rights Reserved
# ===========================================================================
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -31,9 +31,9 @@ $(JDK_OUTPUTDIR)/include/ibmjvmti.h: $(SRC_ROOT)/openj9/runtime/include/ibmjvmti

COPY_FILES += $(JDK_OUTPUTDIR)/include/ibmjvmti.h

# Copy the nss.fips.cfg only on x86 linux
# Copy the nss.fips.cfg only on x86/p/z linux

ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), linux-x86)
ifneq ($(filter linux-x86_64 linux-ppc64le linux-s390x, $(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU)), )
NSS_FIPS_CFG_SRC := $(TOPDIR)/closed/adds/jdk/src/share/lib/security/nss.fips.cfg
NSS_FIPS_CFG_DST := $(JDK_OUTPUTDIR)/lib/security/nss.fips.cfg

Expand Down

0 comments on commit 1198d49

Please sign in to comment.