diff options
author | Rich Salz <rsalz@akamai.com> | 2015-08-26 00:25:11 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-08-26 07:02:33 -0400 |
commit | 4c42ebd2f39ee30bf44cd016a3a838ab2efe8c08 (patch) | |
tree | a56023fbb96229dc862764e41d84b4207d0ebafb /crypto/rsa/rsa_lib.c | |
parent | 22dc08d00ae9517048b1ca44cd3810128eba0273 (diff) |
Remove _locked memory functions.
Undocumented, unused, unnecessary (replaced by secure arena).
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/rsa/rsa_lib.c')
-rw-r--r-- | crypto/rsa/rsa_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c index 76c9796bf0..b28021ba88 100644 --- a/crypto/rsa/rsa_lib.c +++ b/crypto/rsa/rsa_lib.c @@ -231,7 +231,7 @@ void RSA_free(RSA *r) BN_clear_free(r->iqmp); BN_BLINDING_free(r->blinding); BN_BLINDING_free(r->mt_blinding); - OPENSSL_free_locked(r->bignum_data); + OPENSSL_free(r->bignum_data); OPENSSL_free(r); } @@ -287,7 +287,7 @@ int RSA_memory_lock(RSA *r) j = 1; for (i = 0; i < 6; i++) j += bn_get_top(*t[i]); - if ((p = OPENSSL_malloc_locked((off + j) * sizeof(BN_ULONG))) == NULL) { + if ((p = OPENSSL_malloc((off + j) * sizeof(BN_ULONG))) == NULL) { RSAerr(RSA_F_RSA_MEMORY_LOCK, ERR_R_MALLOC_FAILURE); return (0); } |