summaryrefslogtreecommitdiffstats
path: root/crypto/buffer
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/buffer
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/buffer')
-rw-r--r--crypto/buffer/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/buffer/buffer.c b/crypto/buffer/buffer.c
index 705037b06d..0b15c6be6b 100644
--- a/crypto/buffer/buffer.c
+++ b/crypto/buffer/buffer.c
@@ -179,7 +179,7 @@ size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len)
if ((str->flags & BUF_MEM_FLAG_SECURE))
ret = sec_alloc_realloc(str, n);
else
- ret = OPENSSL_realloc_clean(str->data, str->max, n);
+ ret = OPENSSL_clear_realloc(str->data, str->max, n);
if (ret == NULL) {
BUFerr(BUF_F_BUF_MEM_GROW_CLEAN, ERR_R_MALLOC_FAILURE);
len = 0;