src/java.base/share/classes/sun/security/ssl/X509KeyManagerImpl.java

Print this page

        

*** 188,198 **** SSLSession session = sslSocket.getHandshakeSession(); if (session != null) { ProtocolVersion protocolVersion = ProtocolVersion.valueOf(session.getProtocol()); ! if (protocolVersion.v >= ProtocolVersion.TLS12.v) { String[] peerSupportedSignAlgs = null; if (session instanceof ExtendedSSLSession) { ExtendedSSLSession extSession = (ExtendedSSLSession)session; --- 188,198 ---- SSLSession session = sslSocket.getHandshakeSession(); if (session != null) { ProtocolVersion protocolVersion = ProtocolVersion.valueOf(session.getProtocol()); ! if (protocolVersion.useTLS12PlusSpec()) { String[] peerSupportedSignAlgs = null; if (session instanceof ExtendedSSLSession) { ExtendedSSLSession extSession = (ExtendedSSLSession)session;
*** 216,226 **** if (engine != null) { SSLSession session = engine.getHandshakeSession(); if (session != null) { ProtocolVersion protocolVersion = ProtocolVersion.valueOf(session.getProtocol()); ! if (protocolVersion.v >= ProtocolVersion.TLS12.v) { String[] peerSupportedSignAlgs = null; if (session instanceof ExtendedSSLSession) { ExtendedSSLSession extSession = (ExtendedSSLSession)session; --- 216,226 ---- if (engine != null) { SSLSession session = engine.getHandshakeSession(); if (session != null) { ProtocolVersion protocolVersion = ProtocolVersion.valueOf(session.getProtocol()); ! if (protocolVersion.useTLS12PlusSpec()) { String[] peerSupportedSignAlgs = null; if (session instanceof ExtendedSSLSession) { ExtendedSSLSession extSession = (ExtendedSSLSession)session;