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:
parent
f8f5f8369d
commit
c83eda8c22
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user