diff options
author | Rich Salz <rsalz@akamai.com> | 2015-12-16 16:51:12 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-12-22 07:32:51 -0500 |
commit | c99de0533debc8a6ed08b47b414bdea19457eafd (patch) | |
tree | e91742edbd97c2c04c3dedfa00777eac6ca8f107 /crypto/asn1/f_int.c | |
parent | f5d97098a4c5d1c91887a3f2e0a31c1e20ca32e3 (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/asn1/f_int.c')
-rw-r--r-- | crypto/asn1/f_int.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/f_int.c b/crypto/asn1/f_int.c index 9a0928ecbc..1c02cc0a62 100644 --- a/crypto/asn1/f_int.c +++ b/crypto/asn1/f_int.c @@ -164,7 +164,7 @@ int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size) } i /= 2; if (num + i > slen) { - sp = OPENSSL_realloc_clean(s, slen, num + i * 2); + sp = OPENSSL_clear_realloc(s, slen, num + i * 2); if (sp == NULL) { ASN1err(ASN1_F_A2I_ASN1_INTEGER, ERR_R_MALLOC_FAILURE); OPENSSL_free(s); |