jdk/test/sun/security/pkcs11/fips/ClientJSSEServerJSSE.java
changeset 23733 b9b80421cfa7
parent 23357 7225e28e91dd
child 30820 0d4717a011d3
equal deleted inserted replaced
23732:44fe768edfd2 23733:b9b80421cfa7
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6313675 6323647
    26  * @bug 6313675 6323647 8028192
    27  * @summary Verify that all ciphersuites work in FIPS mode
    27  * @summary Verify that all ciphersuites work in FIPS mode
    28  * @library ..
    28  * @library ..
    29  * @author Andreas Sterbenz
    29  * @author Andreas Sterbenz
    30  * @run main/manual ClientJSSEServerJSSE
    30  * @run main/manual ClientJSSEServerJSSE
    31  */
    31  */
    45     public static void main(String[] args) throws Exception {
    45     public static void main(String[] args) throws Exception {
    46         if (initSecmod() == false) {
    46         if (initSecmod() == false) {
    47             return;
    47             return;
    48         }
    48         }
    49 
    49 
    50         if ("sparc".equals(System.getProperty("os.arch")) == false) {
    50         String arch = System.getProperty("os.arch");
    51             // we have not updated other platforms with the proper NSS libraries yet
    51         if (!("sparc".equals(arch) || "sparcv9".equals(arch))) {
    52             System.out.println("Test currently works only on solaris-sparc, skipping");
    52             // we have not updated other platforms with the proper NSS
       
    53             // libraries yet
       
    54             System.out.println(
       
    55                     "Test currently works only on solaris-sparc " +
       
    56                     "and solaris-sparcv9. Skipping on " + arch);
    53             return;
    57             return;
    54         }
    58         }
    55 
    59 
    56         String configName = BASE + SEP + "fips.cfg";
    60         String configName = BASE + SEP + "fips.cfg";
    57         Provider p = getSunPKCS11(configName);
    61         Provider p = getSunPKCS11(configName);