Fix for building async without DTLS.

This commit is contained in:
David Garske
2020-06-17 11:20:08 -07:00
parent 81892f4594
commit 3fb432cef8

View File

@@ -14887,7 +14887,7 @@ int ProcessReply(WOLFSSL* ssl)
return ssl->error; return ssl->error;
} }
#ifdef WOLFSSL_ASYNC_CRYPT #if defined(WOLFSSL_DTLS) && defined(WOLFSSL_ASYNC_CRYPT)
/* process any pending DTLS messages - this flow can happen with async */ /* process any pending DTLS messages - this flow can happen with async */
if (ssl->dtls_rx_msg_list != NULL) { if (ssl->dtls_rx_msg_list != NULL) {
ret = DtlsMsgDrain(ssl); ret = DtlsMsgDrain(ssl);