< prev index next >

test/jdk/java/security/MessageDigest/TestDigestIOStream.java

Print this page
rev 59107 : imported patch security

@@ -114,21 +114,15 @@
                 + ALGORITHM_ARRAY.length * DATA_LEN_ARRAY.length * 2;
         out.println("All " + testNumber + " Tests Passed");
     }
 
     // SHA-3 hash algorithms are only supported by "SUN" provider
-    // and "OracleUcrypto" provider on Solaris 12.0 or later
     // This method checks if system supports SHA-3
     private boolean isSHA3supported() {
         if (Security.getProvider("SUN") != null) {
             return true;
         }
-        if (Security.getProvider("OracleUcrypto") != null
-                && "SunOS".equals(System.getProperty("os.name"))
-                && System.getProperty("os.version").compareTo("5.12") >= 0) {
-            return true;
-        }
         return false;
     }
 
     /**
      * Test DigestInputStream and DigestOutputStream digest function when digest
< prev index next >