File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/transport/nio Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ public void testHandshakeFailureBecauseProtocolMismatch() throws Exception {
172
172
serverProtocols = new String [] { "TLSv1.2" };
173
173
clientProtocols = new String [] { "TLSv1.1" };
174
174
expectedMessageMatcher = anyOf (
175
- is ("The client supported protocol versions [TLSv1.1] are not accepted by server preferences " + "[TLS12 ]" ),
175
+ is ("The client supported protocol versions [TLSv1.1] are not accepted by server preferences " + "[TLS1.2 ]" ),
176
176
is ("org.bouncycastle.tls.TlsFatalAlert: protocol_version(70)" ),
177
177
is ("Client requested protocol TLSv1.1 " + "not enabled or not supported" )
178
178
);
@@ -185,7 +185,7 @@ public void testHandshakeFailureBecauseProtocolMismatch() throws Exception {
185
185
serverProtocols = new String [] { "TLSv1.2" };
186
186
clientProtocols = new String [] { "TLSv1.1" };
187
187
expectedMessageMatcher = anyOf (
188
- is ("The client supported protocol versions [TLSv1.1] are not accepted by server preferences [TLS12 ]" ),
188
+ is ("The client supported protocol versions [TLSv1.1] are not accepted by server preferences [TLS1.2 ]" ),
189
189
is ("Client requested protocol TLSv1.1 not enabled or not supported" ),
190
190
is ("No appropriate protocol (protocol is disabled or cipher suites are inappropriate)" )
191
191
);
You can’t perform that action at this time.
0 commit comments