< prev index next >

test/jdk/sun/security/pkcs11/Cipher/TestKATForGCM.java

Print this page
rev 59107 : imported patch security

*** 323,337 **** System.out.println("Exception occured using " + p.getName() + " version " + p.getVersionStr()); if (isNSS(p)) { double ver = getNSSInfo("nss"); String osName = System.getProperty("os.name"); ! if (ver < 3.251d && osName.equals("SunOS")) { ! // buggy behaviour from solaris on 11.2 OS (nss < 3.251) ! System.out.println("Skipping: SunPKCS11-NSS: Old NSS: " + ver); ! return; // OK ! } else if (ver > 3.139 && ver < 3.15 && osName.equals("Linux")) { // warn about buggy behaviour on Linux with nss 3.14 System.out.println("Warning: old NSS " + ver + " might be problematic, consider upgrading it"); } } throw e; --- 323,333 ---- System.out.println("Exception occured using " + p.getName() + " version " + p.getVersionStr()); if (isNSS(p)) { double ver = getNSSInfo("nss"); String osName = System.getProperty("os.name"); ! if (ver > 3.139 && ver < 3.15 && osName.equals("Linux")) { // warn about buggy behaviour on Linux with nss 3.14 System.out.println("Warning: old NSS " + ver + " might be problematic, consider upgrading it"); } } throw e;
< prev index next >