From 3df47d57abf3a148abfebe0e55a6706939c18c09 Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 13 Apr 2017 12:54:56 -0700 Subject: [PATCH] Fix error with armv8-aes wc_AesInit function using h instead of heap variable. (moved from PR #852). --- wolfcrypt/src/port/arm/armv8-aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/port/arm/armv8-aes.c b/wolfcrypt/src/port/arm/armv8-aes.c index 518c8fcda..0dc43e4e4 100644 --- a/wolfcrypt/src/port/arm/armv8-aes.c +++ b/wolfcrypt/src/port/arm/armv8-aes.c @@ -306,7 +306,7 @@ int wc_AesInit(Aes* aes, void* heap, int devId) if (aes == NULL) return BAD_FUNC_ARG; - aes->heap = h; + aes->heap = heap; (void)devId; return 0;