From 57d72028f64b45693061f255af6253d14c785cd2 Mon Sep 17 00:00:00 2001 From: David Garske Date: Wed, 22 Aug 2018 16:38:55 -0700 Subject: [PATCH] Fix for missing return code on `wc_Pic32HashFree`. --- wolfcrypt/src/port/pic32/pic32mz-crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/port/pic32/pic32mz-crypt.c b/wolfcrypt/src/port/pic32/pic32mz-crypt.c index b29b2fd5d..201e1ddb2 100644 --- a/wolfcrypt/src/port/pic32/pic32mz-crypt.c +++ b/wolfcrypt/src/port/pic32/pic32mz-crypt.c @@ -611,7 +611,7 @@ static int wc_Pic32HashFinal(hashUpdCache* cache, byte* stdBuf, return ret; } -static int wc_Pic32HashFree(hashUpdCache* cache, void* heap) +static void wc_Pic32HashFree(hashUpdCache* cache, void* heap) { if (cache && cache->buf && !cache->isCopy) { XFREE(cache->buf, heap, DYNAMIC_TYPE_HASH_TMP);