Merge pull request #5691 from philljj/fix_lowresource_build

This commit is contained in:
Hayden Roche
2022-10-12 09:35:48 -07:00
committed by GitHub

View File

@ -32113,7 +32113,11 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
#endif /* WOLFSSL_ASYNC_IO */ #endif /* WOLFSSL_ASYNC_IO */
/* Final cleanup */ /* Final cleanup */
if (args != NULL && args->input != NULL) { if (
#ifdef WOLFSSL_ASYNC_IO
args != NULL &&
#endif
args->input != NULL) {
XFREE(args->input, ssl->heap, DYNAMIC_TYPE_IN_BUFFER); XFREE(args->input, ssl->heap, DYNAMIC_TYPE_IN_BUFFER);
args->input = NULL; args->input = NULL;
} }