summaryrefslogtreecommitdiffstats
path: root/src/ssl/test/runner/handshake_client.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/test/runner/handshake_client.go')
-rw-r--r--src/ssl/test/runner/handshake_client.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ssl/test/runner/handshake_client.go b/src/ssl/test/runner/handshake_client.go
index a3ce686..9d8ffee 100644
--- a/src/ssl/test/runner/handshake_client.go
+++ b/src/ssl/test/runner/handshake_client.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package main
+package runner
import (
"bytes"
@@ -833,6 +833,10 @@ func (hs *clientHandshakeState) readSessionTicket() error {
return nil
}
+ if c.vers == VersionSSL30 {
+ return errors.New("tls: negotiated session tickets in SSL 3.0")
+ }
+
msg, err := c.readHandshake()
if err != nil {
return err