From 7a701cc11121d74fff5dd463f267ed531c314515 Mon Sep 17 00:00:00 2001 From: JinhangZhang Date: Wed, 27 Mar 2024 13:15:22 -0400 Subject: [PATCH] Implement the ECKeyPairGenerator initialize func Aim to solve openj9 issue 18320. DefaultSignatureAlgorithm test run in those Redhat OS based machines, FIPS version of openssl is used in those machines. So, a 192 size of EC key pair generator is not allowed by the native code in FIPS version of openssl , then a Java implementation is used. Remove 192-bits test. --- .../tools/keytool/fakegen/DefaultSignatureAlgorithm.java | 1 - 1 file changed, 1 deletion(-) diff --git a/test/jdk/sun/security/tools/keytool/fakegen/DefaultSignatureAlgorithm.java b/test/jdk/sun/security/tools/keytool/fakegen/DefaultSignatureAlgorithm.java index 6f2d918093b..b47eaf2cb37 100644 --- a/test/jdk/sun/security/tools/keytool/fakegen/DefaultSignatureAlgorithm.java +++ b/test/jdk/sun/security/tools/keytool/fakegen/DefaultSignatureAlgorithm.java @@ -60,7 +60,6 @@ public static void main(String[] args) throws Exception { check("DSA", 1024, null, "SHA256withDSA"); check("DSA", 3072, null, "SHA256withDSA"); - check("EC", 192, null, "SHA256withECDSA"); check("EC", 384, null, "SHA384withECDSA"); check("EC", 571, null, "SHA512withECDSA");