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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user