mirror of
https://github.com/square/okhttp.git
synced 2025-08-08 23:42:08 +03:00
More flexible cipherSuite matching #4685
* Match any cipher suites starting with TLS_
This commit is contained in:
@@ -147,7 +147,7 @@ public final class LoggingEventListenerTest {
|
|||||||
.assertLogMatch("secureConnectStart")
|
.assertLogMatch("secureConnectStart")
|
||||||
.assertLogMatch("secureConnectEnd: Handshake\\{"
|
.assertLogMatch("secureConnectEnd: Handshake\\{"
|
||||||
+ "tlsVersion=TLS_1_[23] "
|
+ "tlsVersion=TLS_1_[23] "
|
||||||
+ "cipherSuite=(?:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384|TLS_AES_128_GCM_SHA256) "
|
+ "cipherSuite=TLS_.* "
|
||||||
+ "peerCertificates=\\[CN=localhost\\] "
|
+ "peerCertificates=\\[CN=localhost\\] "
|
||||||
+ "localCertificates=\\[\\]}")
|
+ "localCertificates=\\[\\]}")
|
||||||
.assertLogMatch("connectEnd: h2")
|
.assertLogMatch("connectEnd: h2")
|
||||||
|
Reference in New Issue
Block a user