From 044417ba01de1b72624e779b9372fe102d58454a Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Mon, 12 Jun 2017 09:46:50 +1000 Subject: [PATCH] Fix for cache only SNI and TLS v1.3 --- src/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls.c b/src/tls.c index 5e5c47148..a818539c3 100755 --- a/src/tls.c +++ b/src/tls.c @@ -1595,7 +1595,7 @@ static int TLSX_SNI_Parse(WOLFSSL* ssl, byte* input, word16 length, /* Don't process the second ClientHello SNI extension if there * was problems with the first. */ - if (sni->status != 0) + if (!cacheOnly && sni->status != 0) break; #endif byte matched = cacheOnly ||