mirror of
https://github.com/square/okhttp.git
synced 2025-08-01 16:06:56 +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("secureConnectEnd: Handshake\\{"
|
||||
+ "tlsVersion=TLS_1_[23] "
|
||||
+ "cipherSuite=(?:TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384|TLS_AES_128_GCM_SHA256) "
|
||||
+ "cipherSuite=TLS_.* "
|
||||
+ "peerCertificates=\\[CN=localhost\\] "
|
||||
+ "localCertificates=\\[\\]}")
|
||||
.assertLogMatch("connectEnd: h2")
|
||||
|
Reference in New Issue
Block a user