Fix for async wolfCrypt test with AES GCM.

This commit is contained in:
David Garske
2019-03-01 09:56:38 -08:00
parent 809c30a5b9
commit e87433e2b6

View File

@ -7128,7 +7128,7 @@ int aesgcm_test(void)
BENCH_AESGCM_LARGE, iv1, sizeof(iv1), resultT,
sizeof(resultT), a, sizeof(a));
#if defined(WOLFSSL_ASYNC_CRYPT)
result = wc_AsyncWait(result, &enc.asyncDev, WC_ASYNC_FLAG_NONE);
result = wc_AsyncWait(result, &dec.asyncDev, WC_ASYNC_FLAG_NONE);
#endif
if (result != 0)
return -5708;