Skip to content

Commit 26de7d4

Browse files
committed
Update KeyDestructionTest to be FIPS 140-3
This test is failing since the FIPS 140-3 requires RSA key sizes to be 2048 or higher. fixes eclipse-openj9/openj9#21921
1 parent fdbcb8b commit 26de7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/javax/security/auth/Destroyable/KeyDestructionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
public class KeyDestructionTest {
4343
public static void main(String[] args) throws Exception {
4444
String kpgAlgorithm = "RSA";
45-
KeyPair keypair = generateKeyPair(kpgAlgorithm, 1024);
45+
KeyPair keypair = generateKeyPair(kpgAlgorithm, 2048);
4646

4747
// Check keys that support and have implemented key destruction
4848
testKeyDestruction(new MyDestroyableSecretKey());

0 commit comments

Comments
 (0)