6943219: test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java fail in linux
Reviewed-by: andrew
This commit is contained in:
parent
87fe7a4376
commit
61ab8e5bfd
@ -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 {
|
|||||||
|
|
||||||
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 {
|
|||||||
|
|
||||||
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 {
|
|||||||
|
|
||||||
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 {
|
|||||||
|
|
||||||
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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user