Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8238740: java/net/httpclient/whitebox/FlowTestDriver.java would not s…
…pecify a TLS protocol

Reviewed-by: dfuchs
  • Loading branch information
John Jiang committed Mar 10, 2020
1 parent d49eb0d commit edaf548beb1fc991a918983467abc5894e22216f
Showing with 0 additions and 1 deletion.
  1. +0 −1 test/jdk/java/net/httpclient/whitebox/java.net.http/jdk/internal/net/http/FlowTest.java
@@ -80,7 +80,6 @@ public FlowTest() throws IOException {
SSLEngine engineClient = ctx.createSSLEngine();
SSLParameters params = ctx.getSupportedSSLParameters();
params.setApplicationProtocols(new String[]{"proto1", "proto2"}); // server will choose proto2
params.setProtocols(new String[]{"TLSv1.2"}); // TODO: This is essential. Needs to be protocol impl
engineClient.setSSLParameters(params);
engineClient.setUseClientMode(true);
completion = new CompletableFuture<>();

0 comments on commit edaf548

Please sign in to comment.