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>
This commit is contained in:
Matt Caswell 2015-08-13 10:04:23 +01:00
parent f8f5f8369d
commit c83eda8c22

View File

@ -3043,6 +3043,11 @@ int tls1_process_ticket(SSL *s, PACKET *pkt, unsigned char *session_id,
break; break;
} }
goto end; goto end;
} else {
if (!PACKET_forward(pkt, size)) {
retv = -1;
goto end;
}
} }
} }
retv = 0; retv = 0;