diff options
Diffstat (limited to 'src/ssl/test/runner/runner.go')
-rw-r--r-- | src/ssl/test/runner/runner.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ssl/test/runner/runner.go b/src/ssl/test/runner/runner.go index d6e984a0..d7bad5bf 100644 --- a/src/ssl/test/runner/runner.go +++ b/src/ssl/test/runner/runner.go @@ -6395,7 +6395,7 @@ func addRenegotiationTests() { // this case. https://crbug.com/boringssl/130 }) - // Stray HelloRequests during the handshake are ignored in TLS 1.2. + // We reject stray HelloRequests during the handshake in TLS 1.2. testCases = append(testCases, testCase{ name: "StrayHelloRequest", config: Config{ @@ -6404,6 +6404,8 @@ func addRenegotiationTests() { SendHelloRequestBeforeEveryHandshakeMessage: true, }, }, + shouldFail: true, + expectedError: ":UNEXPECTED_MESSAGE:", }) testCases = append(testCases, testCase{ name: "StrayHelloRequest-Packed", @@ -6414,6 +6416,8 @@ func addRenegotiationTests() { SendHelloRequestBeforeEveryHandshakeMessage: true, }, }, + shouldFail: true, + expectedError: ":UNEXPECTED_MESSAGE:", }) // Test renegotiation works if HelloRequest and server Finished come in |