| JDK 6 |
|---|
| 6u161Fixed |
|
Relates :
|
Double call error crept in while TLSv1.2 was being backported to JDK 6u :
src/share/classes/com/sun/net/ssl/internal/ssl/Handshaker.java
if (conn != null) {
algorithmConstraints = new SSLAlgorithmConstraints(conn, true);
algorithmConstraints = new SSLAlgorithmConstraints(conn, true);
} else { // engine != null
algorithmConstraints = new SSLAlgorithmConstraints(engine, true);
algorithmConstraints = new SSLAlgorithmConstraints(engine, true);
}