提交 c3a0d481 编写于 作者: C chegar

6943219:...

6943219: test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java fail in linux
Reviewed-by: andrew
上级 ae59f507
...@@ -657,9 +657,6 @@ public class DNSIdentities { ...@@ -657,9 +657,6 @@ public class DNSIdentities {
SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept(); SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept();
sslSocket.setNeedClientAuth(true); sslSocket.setNeedClientAuth(true);
if (sslSocket instanceof SSLSocketImpl) {
((SSLSocketImpl)sslSocket).trySetHostnameVerification("HTTPS");
}
PrintStream out = PrintStream out =
new PrintStream(sslSocket.getOutputStream()); new PrintStream(sslSocket.getOutputStream());
......
...@@ -657,9 +657,6 @@ public class IPAddressDNSIdentities { ...@@ -657,9 +657,6 @@ public class IPAddressDNSIdentities {
SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept(); SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept();
sslSocket.setNeedClientAuth(true); sslSocket.setNeedClientAuth(true);
if (sslSocket instanceof SSLSocketImpl) {
((SSLSocketImpl)sslSocket).trySetHostnameVerification("HTTPS");
}
PrintStream out = PrintStream out =
new PrintStream(sslSocket.getOutputStream()); new PrintStream(sslSocket.getOutputStream());
......
...@@ -658,9 +658,6 @@ public class IPAddressIPIdentities { ...@@ -658,9 +658,6 @@ public class IPAddressIPIdentities {
SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept(); SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept();
sslSocket.setNeedClientAuth(true); sslSocket.setNeedClientAuth(true);
if (sslSocket instanceof SSLSocketImpl) {
((SSLSocketImpl)sslSocket).trySetHostnameVerification("HTTPS");
}
PrintStream out = PrintStream out =
new PrintStream(sslSocket.getOutputStream()); new PrintStream(sslSocket.getOutputStream());
......
...@@ -658,9 +658,6 @@ public class IPIdentities { ...@@ -658,9 +658,6 @@ public class IPIdentities {
SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept(); SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept();
sslSocket.setNeedClientAuth(true); sslSocket.setNeedClientAuth(true);
if (sslSocket instanceof SSLSocketImpl) {
((SSLSocketImpl)sslSocket).trySetHostnameVerification("HTTPS");
}
PrintStream out = PrintStream out =
new PrintStream(sslSocket.getOutputStream()); new PrintStream(sslSocket.getOutputStream());
......
...@@ -657,9 +657,6 @@ public class Identities { ...@@ -657,9 +657,6 @@ public class Identities {
SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept(); SSLSocket sslSocket = (SSLSocket) sslServerSocket.accept();
sslSocket.setNeedClientAuth(true); sslSocket.setNeedClientAuth(true);
if (sslSocket instanceof SSLSocketImpl) {
((SSLSocketImpl)sslSocket).trySetHostnameVerification("HTTPS");
}
PrintStream out = PrintStream out =
new PrintStream(sslSocket.getOutputStream()); new PrintStream(sslSocket.getOutputStream());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册