summaryrefslogtreecommitdiffstats
path: root/crypto/mem.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-12-16 16:51:12 -0500
committerRich Salz <rsalz@openssl.org>2015-12-22 07:32:51 -0500
commitc99de0533debc8a6ed08b47b414bdea19457eafd (patch)
treee91742edbd97c2c04c3dedfa00777eac6ca8f107 /crypto/mem.c
parentf5d97098a4c5d1c91887a3f2e0a31c1e20ca32e3 (diff)
Rename *_realloc_clean to *_clear_realloc
Just like *_clear_free routines. Previously undocumented, used a half-dozen times within OpenSSL source. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/mem.c')
-rw-r--r--crypto/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/mem.c b/crypto/mem.c
index 7ecf0aebeb..939ad69775 100644
--- a/crypto/mem.c
+++ b/crypto/mem.c
@@ -337,7 +337,7 @@ void *CRYPTO_realloc(void *str, size_t num, const char *file, int line)
return ret;
}
-void *CRYPTO_realloc_clean(void *str, size_t old_len, size_t num,
+void *CRYPTO_clear_realloc(void *str, size_t old_len, size_t num,
const char *file, int line)
{
void *ret = NULL;