< prev index next >
test/jdk/sun/security/pkcs11/Cipher/TestKATForGCM.java
Print this page
rev 59383 : [mq]: final
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -323,15 +323,11 @@
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")) {
+ 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 >