Merge pull request #760 from yuanzh78/patch-1

Update t1_lib.c
This commit is contained in:
Zhi Guan
2019-09-03 18:31:32 +08:00
committed by GitHub

View File

@@ -2982,8 +2982,11 @@ int ssl_parse_serverhello_tlsext(SSL *s, PACKET *pkt)
{
int al = -1;
if (s->version < SSL3_VERSION)
if (s->version < SSL3_VERSION){
// jump over the ext block
packet_forward(pkt, pkt->remaining);
return 1;
}
if (ssl_scan_serverhello_tlsext(s, pkt, &al) <= 0) {
ssl3_send_alert(s, SSL3_AL_FATAL, al);