diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2016-02-17 13:41:26 +0000 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-17 09:16:01 -0500 |
commit | 6a78ae2821e89a8838714496524fd39d9d21fb1b (patch) | |
tree | d921157528c05bea47354fdda9bc14960dd200b6 /crypto/mem_sec.c | |
parent | d6b55faca3bc085ed487c1a69aa976f81cf1c7fa (diff) | |
download | openssl-new-6a78ae2821e89a8838714496524fd39d9d21fb1b.tar.gz |
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 <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'crypto/mem_sec.c')
-rw-r--r-- | crypto/mem_sec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ } |