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)
This commit is contained in:
Tomas Mraz 2021-03-19 16:01:55 +01:00 committed by Pauli
parent 7f2fa88519
commit c464583483
2 changed files with 0 additions and 6 deletions

View File

@ -172,7 +172,6 @@ void RSA_free(RSA *r)
#endif #endif
BN_BLINDING_free(r->blinding); BN_BLINDING_free(r->blinding);
BN_BLINDING_free(r->mt_blinding); BN_BLINDING_free(r->mt_blinding);
OPENSSL_free(r->bignum_data);
OPENSSL_free(r); OPENSSL_free(r);
} }

View File

@ -94,11 +94,6 @@ struct rsa_st {
BN_MONT_CTX *_method_mod_n; BN_MONT_CTX *_method_mod_n;
BN_MONT_CTX *_method_mod_p; BN_MONT_CTX *_method_mod_p;
BN_MONT_CTX *_method_mod_q; 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 *blinding;
BN_BLINDING *mt_blinding; BN_BLINDING *mt_blinding;
CRYPTO_RWLOCK *lock; CRYPTO_RWLOCK *lock;