From a1459f6fece00e1032025be4d59289eab26ec336 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 28 Dec 2018 11:57:13 -0700 Subject: [PATCH] fix build when QSH is enabled and TLS 1.3 is enabled --- src/tls13.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/tls13.c b/src/tls13.c index 57460a558..d7a030030 100644 --- a/src/tls13.c +++ b/src/tls13.c @@ -2566,10 +2566,6 @@ int SendTls13ClientHello(WOLFSSL* ssl) (ret = TLSX_EarlyData_Use(ssl, 0)) < 0) { return ret; } -#endif -#ifdef HAVE_QSH - if (QSH_Init(ssl) != 0) - return MEMORY_E; #endif /* Include length of TLS extensions. */ ret = TLSX_GetRequestSize(ssl, client_hello, &length); @@ -3889,10 +3885,6 @@ int DoTls13ClientHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx, if ((i - begin) + totalExtSz > helloSz) return BUFFER_ERROR; - #ifdef HAVE_QSH - QSH_Init(ssl); - #endif - /* Auto populate extensions supported unless user defined. */ if ((ret = TLSX_PopulateExtensions(ssl, 1)) != 0) return ret;