Fix error with armv8-aes wc_AesInit function using h instead of heap variable. (moved from PR #852).

This commit is contained in:
David Garske
2017-04-13 12:54:56 -07:00
committed by Jacob Barthelmeh
parent 4c6a70861b
commit 3df47d57ab

View File

@@ -306,7 +306,7 @@ int wc_AesInit(Aes* aes, void* heap, int devId)
if (aes == NULL) if (aes == NULL)
return BAD_FUNC_ARG; return BAD_FUNC_ARG;
aes->heap = h; aes->heap = heap;
(void)devId; (void)devId;
return 0; return 0;