Merge pull request #1979 from SparkiDev/tls_sh_tlsx_parse

Fix TLS 1.2 and below ServerHello TLSX_Parse to pass in message type
This commit is contained in:
toddouska
2018-12-18 15:39:12 -08:00
committed by GitHub

View File

@ -17555,8 +17555,8 @@ exit_dpk:
if ((i - begin) + totalExtSz > helloSz)
return BUFFER_ERROR;
if ((ret = TLSX_Parse(ssl, (byte *) input + i,
totalExtSz, 0, NULL)))
if ((ret = TLSX_Parse(ssl, (byte *) input + i, totalExtSz,
server_hello, NULL)))
return ret;
i += totalExtSz;