forked from wolfSSL/wolfssl
fix build when QSH is enabled and TLS 1.3 is enabled
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user