forked from wolfSSL/wolfssl
Fix TLS 1.2 and below ServerHello TLSX_Parse to pass in message type
This commit is contained in:
@ -17495,8 +17495,8 @@ exit_dpk:
|
|||||||
if ((i - begin) + totalExtSz > helloSz)
|
if ((i - begin) + totalExtSz > helloSz)
|
||||||
return BUFFER_ERROR;
|
return BUFFER_ERROR;
|
||||||
|
|
||||||
if ((ret = TLSX_Parse(ssl, (byte *) input + i,
|
if ((ret = TLSX_Parse(ssl, (byte *) input + i, totalExtSz,
|
||||||
totalExtSz, 0, NULL)))
|
server_hello, NULL)))
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
i += totalExtSz;
|
i += totalExtSz;
|
||||||
|
Reference in New Issue
Block a user