< prev index next >

test/jdk/java/security/MessageDigest/TestSameValue.java

Print this page
rev 59107 : imported patch security

@@ -89,21 +89,15 @@
                 + algorithmArr.length * UpdateDigestMethod.values().length
                 + " 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;
     }
 
     private static enum UpdateDigestMethod {
 
< prev index next >