< prev index next >
src/java.base/share/classes/sun/security/ssl/ServerHandshaker.java
Print this page
@@ -1170,15 +1170,22 @@
}
if (trySetCipherSuite(suite) == false) {
continue;
}
+
+ if (debug != null && Debug.isOn("handshake")) {
+ System.out.println("Standard ciphersuite chosen: " + suite);
+ }
return;
}
for (CipherSuite suite : legacySuites) {
if (trySetCipherSuite(suite)) {
+ if (debug != null && Debug.isOn("handshake")) {
+ System.out.println("Legacy ciphersuite chosen: " + suite);
+ }
return;
}
}
fatalSE(Alerts.alert_handshake_failure, "no cipher suites in common");
< prev index next >