diff options
author | David Benjamin <davidben@chromium.org> | 2014-09-24 23:19:56 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-09-25 03:56:03 +0400 |
commit | b0c8db7347aca929bef9597f9ea3cb23e560695b (patch) | |
tree | f653fb234d27620369f1044c84ce52d102fd21c2 /ssl/test | |
parent | 7f520dbd8d4e0006f6c8279c681ee149c961c104 (diff) |
runner: don't resume sessions if SessionTicketsDisabled is true.
Change-Id: I1cf4a11d66871fff71a5fa93e39471ffb40d3132
Reviewed-on: https://boringssl-review.googlesource.com/1821
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/test')
-rw-r--r-- | ssl/test/runner/handshake_server.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/test/runner/handshake_server.go b/ssl/test/runner/handshake_server.go index 45e300d0..b03f1654 100644 --- a/ssl/test/runner/handshake_server.go +++ b/ssl/test/runner/handshake_server.go @@ -302,6 +302,10 @@ Curves: func (hs *serverHandshakeState) checkForResumption() bool { c := hs.c + if c.config.SessionTicketsDisabled { + return false + } + var ok bool if hs.sessionState, ok = c.decryptTicket(hs.clientHello.sessionTicket); !ok { return false |