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) 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;