mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-09 18:20:49 +02:00
Fixes for async and crypto callbacks
This commit is contained in:
+4
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user