diff options
author | David Benjamin <davidben@chromium.org> | 2014-08-13 22:50:01 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-08-14 01:58:43 +0400 |
commit | 6491e8c267dd00732420e94a2dfc3f020508673d (patch) | |
tree | faef1876ff3290ed0414c5d9566398cb4eb3b289 /ssl/d1_clnt.c | |
parent | 09bd58d1f1c71ed7ea687d0295e23793ad3d98fa (diff) |
Allow renewed tickets on session resumption in DTLS.
Analogous fix for DTLS as upstream's c519e89f5c359b8c0f747519773284d9b6382791.
Change-Id: I8a56070ce2a1edf4e9ceb2fd8ce08552e25a1cf3
Reviewed-on: https://boringssl-review.googlesource.com/1504
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r-- | ssl/d1_clnt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c index b3d40466..05a06f8f 100644 --- a/ssl/d1_clnt.c +++ b/ssl/d1_clnt.c @@ -275,6 +275,11 @@ int dtls1_connect(SSL *s) if (s->hit) { s->state=SSL3_ST_CR_FINISHED_A; + if (s->tlsext_ticket_expected) + { + /* receive renewed session ticket */ + s->state=SSL3_ST_CR_SESSION_TICKET_A; + } } else s->state=DTLS1_ST_CR_HELLO_VERIFY_REQUEST_A; |