Skip to content
Snippets Groups Projects
Commit cc70a502 authored by Goetz Lindenmaier's avatar Goetz Lindenmaier
Browse files

8333317: Test sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed...

8333317: Test sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with: Invalid ECDH ServerKeyExchange signature

Backport-of: d7c85b194dcb2c312afe18e62a87b1708d4f14bb
parent eef1d179
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ public abstract class PKCS11Test { ...@@ -77,7 +77,7 @@ public abstract class PKCS11Test {
// Version of the NSS artifact. This coincides with the version of // Version of the NSS artifact. This coincides with the version of
// the NSS version // the NSS version
private static final String NSS_BUNDLE_VERSION = "3.96"; private static final String NSS_BUNDLE_VERSION = "3.101";
private static final String NSSLIB = "jpg.tests.jdk.nsslib"; private static final String NSSLIB = "jpg.tests.jdk.nsslib";
static double nss_version = -1; static double nss_version = -1;
......
/* /*
* Copyright (c) 2013, 2022, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -48,8 +48,12 @@ public class TestDSAKeyLength extends PKCS11Test { ...@@ -48,8 +48,12 @@ public class TestDSAKeyLength extends PKCS11Test {
@Override @Override
protected boolean skipTest(Provider provider) { protected boolean skipTest(Provider provider) {
if (isNSS(provider) && (getNSSVersion() == 0.0 || getNSSVersion() >= 3.14)) { double version = getNSSVersion();
System.out.println("Skip testing NSS " + getNSSVersion()); String[] versionStrs = Double.toString(version).split("\\.");
int major = Integer.parseInt(versionStrs[0]);
int minor = Integer.parseInt(versionStrs[1]);
if (isNSS(provider) && (version == 0.0 || (major >= 3 && minor >= 14))) {
System.out.println("Skip testing NSS " + version);
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment