commit | c83eda8c22f08346d5434662643de523a469c81e | [log] [tgz] |
---|---|---|
author | Matt Caswell <matt@openssl.org> | Thu Aug 13 10:04:23 2015 +0100 |
committer | Matt Caswell <matt@openssl.org> | Fri Aug 14 17:00:11 2015 +0100 |
tree | b9be81a702026cdbea4fb3439bd23d9e4b92f729 | |
parent | f8f5f8369d1d76fd8ec28d3d2422a47f8440f452 [diff] [blame] |
Fix session tickets Commit 9ceb2426b0 (PACKETise ClientHello) broke session tickets by failing to detect the session ticket extension in an incoming ClientHello. This commit fixes the bug. Reviewed-by: Emilia Käsper <emilia@openssl.org>
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index e37411c..f004288 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c
@@ -3043,6 +3043,11 @@ break; } goto end; + } else { + if (!PACKET_forward(pkt, size)) { + retv = -1; + goto end; + } } } retv = 0;