Skip to content

Commit

Permalink
Merge "Merge "Merge "[conflict] Merge "Use tls 1.3 by default in Test…
Browse files Browse the repository at this point in the history
…SSLContext." into android11-tests-dev am: e6549ff" into android12-tests-dev am: 70664d6" into android12L-tests-dev am: acba7b1" into android13-tests-dev
  • Loading branch information
android-build-merge-worker-robot authored and Gerrit Code Review committed Jul 25, 2023
2 parents e478885 + 67e9126 commit 8ab3932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luni/src/test/java/libcore/java/net/URLConnectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ private void checkConnectViaHttps() throws IOException, InterruptedException {

RecordedRequest request = server.takeRequest();
assertEquals("GET /foo HTTP/1.1", request.getRequestLine());
assertEquals("TLSv1.2", request.getSslProtocol());
assertEquals("TLSv1.3", request.getSslProtocol());
}

@Test public void connectViaHttpsReusingConnections() throws IOException, InterruptedException {
Expand Down Expand Up @@ -2288,7 +2288,7 @@ private void testResponseRedirectedWithPost(int redirectCode) throws Exception {
+ "CN=Local Host 3, "
+ "CN=Test Intermediate Certificate Authority 2, "
+ "CN=Test Root Certificate Authority 1"
+ "] ECDHE_RSA"),
+ "] GENERIC"),
trustManager.calls);
} finally {
HttpsURLConnection.setDefaultHostnameVerifier(defaultHostnameVerifier);
Expand Down

0 comments on commit 8ab3932

Please sign in to comment.