From f90e5601ada022e80889d26b1a99fc9bec5246c6 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Thu, 13 Dec 2018 16:12:53 +1000 Subject: [PATCH] Fix TLS 1.2 and below ServerHello TLSX_Parse to pass in message type --- src/internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index 2292a7c9b..e5f5a218d 100644 --- a/src/internal.c +++ b/src/internal.c @@ -17495,8 +17495,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;