Skip to content

Commit 9ed19cd

Browse files
author
Andras Fekete
committed
Need to increment state after the async task completes
1 parent da39f66 commit 9ed19cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5349,7 +5349,7 @@ int EccMakeKey(WOLFSSL* ssl, ecc_key* key, ecc_key* peer)
53495349

53505350
#ifdef WOLFSSL_ASYNC_CRYPT
53515351
/* initialize event */
5352-
ret = wolfSSL_AsyncInit(ssl, &key->asyncDev, WC_ASYNC_FLAG_CALL_AGAIN);
5352+
ret = wolfSSL_AsyncInit(ssl, &key->asyncDev, WC_ASYNC_FLAG_NONE);
53535353
if (ret != 0)
53545354
return ret;
53555355
#endif

0 commit comments

Comments
 (0)