Skip to content

Commit

Permalink
Update two test cases to disable ExtendedMasterSecret
Browse files Browse the repository at this point in the history
  • Loading branch information
taoliult committed Apr 16, 2024
1 parent 262079d commit a875c38
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,19 @@
* questions.
*/

/*
* ===========================================================================
* (c) Copyright IBM Corp. 2024, 2024 All Rights Reserved
* ===========================================================================
*/

/*
* @test
* @bug 8257545
* @summary Test that SunJSSE uses FIPS during the key exchange (TLSv1.2)
* @modules java.base/com.sun.net.ssl.internal.ssl
* @library /test/lib ..
* @run main/othervm/timeout=120 SunJSSEKeyExchangeFIPS
* @run main/othervm/timeout=120 -Djdk.tls.useExtendedMasterSecret=false SunJSSEKeyExchangeFIPS
*/

import java.nio.ByteBuffer;
Expand Down
8 changes: 7 additions & 1 deletion test/jdk/sun/security/pkcs11/fips/TestTLS12.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
* questions.
*/

/*
* ===========================================================================
* (c) Copyright IBM Corp. 2024, 2024 All Rights Reserved
* ===========================================================================
*/

/*
* @test
* @bug 8029661
Expand All @@ -30,7 +36,7 @@
* java.base/com.sun.net.ssl.internal.ssl
* java.base/com.sun.crypto.provider
* @library /test/lib ..
* @run main/othervm/timeout=120 TestTLS12
* @run main/othervm/timeout=120 -Djdk.tls.useExtendedMasterSecret=false TestTLS12
*/

import java.io.File;
Expand Down

0 comments on commit a875c38

Please sign in to comment.