summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-03-19 16:01:55 +0100
committerPauli <pauli@openssl.org>2021-03-28 16:38:56 +1000
commitc464583483df70ad8df9907168bf015d672742bd (patch)
tree84fece0979140f9806828921704a213de3d1e8fb /crypto/rsa
parent7f2fa88519daa1c89b363d0287c4256ac85e2128 (diff)
Remove RSA bignum_data that is not used anywhere
Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14624)
Diffstat (limited to 'crypto/rsa')
-rw-r--r--crypto/rsa/rsa_lib.c1
-rw-r--r--crypto/rsa/rsa_local.h5
2 files changed, 0 insertions, 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;