--- a/src/java.base/share/classes/sun/security/ssl/DHKeyExchange.java Tue Aug 28 14:46:44 2018 -0400
+++ b/src/java.base/share/classes/sun/security/ssl/DHKeyExchange.java Wed Aug 29 10:49:56 2018 -0400
@@ -414,15 +414,15 @@
continue;
}
- DHEPossession dhep = (DHEPossession) poss;
+ DHEPossession dhep = (DHEPossession)poss;
for (SSLCredentials cred : context.handshakeCredentials) {
if (!(cred instanceof DHECredentials)) {
continue;
}
- DHECredentials dhec = (DHECredentials) cred;
+ DHECredentials dhec = (DHECredentials)cred;
if (dhep.namedGroup != null && dhec.namedGroup != null) {
if (dhep.namedGroup.equals(dhec.namedGroup)) {
- dheCredentials = (DHECredentials) cred;
+ dheCredentials = (DHECredentials)cred;
break;
}
} else {
@@ -430,14 +430,14 @@
DHParameterSpec cps = dhec.popPublicKey.getParams();
if (pps.getP().equals(cps.getP()) &&
pps.getG().equals(cps.getG())) {
- dheCredentials = (DHECredentials) cred;
+ dheCredentials = (DHECredentials)cred;
break;
}
}
}
if (dheCredentials != null) {
- dhePossession = (DHEPossession) poss;
+ dhePossession = (DHEPossession)poss;
break;
}
}