Fixes for async and crypto callbacks

This commit is contained in:
David Garske
2026-02-27 14:08:17 -08:00
parent 41137eed10
commit 0dffc8abff
6 changed files with 37 additions and 11 deletions
+4 -1
View File
@@ -41789,7 +41789,10 @@ int wolfSSL_AsyncPop(WOLFSSL* ssl, byte* state)
* the completion is not detected in the poll like Intel QAT or
* Nitrox */
ret = wolfEventQueue_Remove(&ssl->ctx->event_queue, event);
/* Clear async device so stale pending state from
* wolfSSL_AsyncInit does not confuse subsequent operations */
XMEMSET(&asyncDev->event, 0, sizeof(WOLF_EVENT));
ssl->asyncDev = NULL;
}
#endif
}