Fix TLS 1.2 and below ServerHello TLSX_Parse to pass in message type

This commit is contained in:
Sean Parkinson 2018-12-13 16:12:53 +10:00
parent 3e326aba15
commit f90e5601ad

View File

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