From 6a78ae2821e89a8838714496524fd39d9d21fb1b Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Wed, 17 Feb 2016 13:41:26 +0000 Subject: RT4313: Fix build for !IMPLEMENTED code path in CRYPTO_secure_free() Commit 05c7b1631 ("Implement the use of heap manipulator implementions") added 'file' and 'line' arguments to CRYPTO_free() and friends, but neglected to fix up the !IMPLEMENTED case within CRYPTO_secure_free(). Add the missing arguments there too. Signed-off-by: Rich Salz Reviewed-by: Matt Caswell --- crypto/mem_sec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c index be3bb9a62b..fdda487efc 100644 --- a/crypto/mem_sec.c +++ b/crypto/mem_sec.c @@ -138,7 +138,7 @@ void CRYPTO_secure_free(void *ptr, const char *file, int line) sh_free(ptr); UNLOCK(); #else - CRYPTO_free(ptr); + CRYPTO_free(ptr, file, line); #endif /* IMPLEMENTED */ } -- cgit v1.2.3