From c464583483df70ad8df9907168bf015d672742bd Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 19 Mar 2021 16:01:55 +0100 Subject: [PATCH] Remove RSA bignum_data that is not used anywhere Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/14624) --- crypto/rsa/rsa_lib.c | 1 - crypto/rsa/rsa_local.h | 5 ----- 2 files changed, 6 deletions(-) diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c index bfd274a66a..b9b5d395bb 100644 --- a/crypto/rsa/rsa_lib.c +++ b/crypto/rsa/rsa_lib.c @@ -172,7 +172,6 @@ void RSA_free(RSA *r) #endif BN_BLINDING_free(r->blinding); BN_BLINDING_free(r->mt_blinding); - OPENSSL_free(r->bignum_data); OPENSSL_free(r); } diff --git a/crypto/rsa/rsa_local.h b/crypto/rsa/rsa_local.h index 73f7f91804..6979adfcd1 100644 --- a/crypto/rsa/rsa_local.h +++ b/crypto/rsa/rsa_local.h @@ -94,11 +94,6 @@ struct rsa_st { BN_MONT_CTX *_method_mod_n; BN_MONT_CTX *_method_mod_p; BN_MONT_CTX *_method_mod_q; - /* - * all BIGNUM values are actually in the following data, if it is not - * NULL - */ - char *bignum_data; BN_BLINDING *blinding; BN_BLINDING *mt_blinding; CRYPTO_RWLOCK *lock;