From 6d520e0da9164e6fd27889be21d1b491d37c9c0a Mon Sep 17 00:00:00 2001 From: John Safranek Date: Mon, 20 Jun 2016 11:08:45 -0600 Subject: [PATCH] hello verify request handshake version number to match server hello version number --- src/internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal.c b/src/internal.c index 746182a6e..83a61c058 100755 --- a/src/internal.c +++ b/src/internal.c @@ -18072,8 +18072,8 @@ int DoSessionTicket(WOLFSSL* ssl, rh->pvMinor = DTLS_MINOR; } - output[idx++] = DTLS_MAJOR; - output[idx++] = DTLS_MINOR; + output[idx++] = ssl->version.major; + output[idx++] = ssl->version.minor; output[idx++] = cookieSz; if (cookie == NULL || cookieSz == 0)