]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Remove RSA bignum_data that is not used anywhere
authorTomas Mraz <tomas@openssl.org>
Fri, 19 Mar 2021 15:01:55 +0000 (16:01 +0100)
committerPauli <pauli@openssl.org>
Sun, 28 Mar 2021 06:38:56 +0000 (16:38 +1000)
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14624)

crypto/rsa/rsa_lib.c
crypto/rsa/rsa_local.h

index bfd274a66aefda14fa88e4baa6d68dac1d3c1546..b9b5d395bb32ebc4b38fe6b8c5aa569f79ef00c8 100644 (file)
@@ -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);
 }
 
index 73f7f91804d3d661bd758dd2d18b547ce99d835f..6979adfcd1a5825fda2372cfe693e197fa80b5fd 100644 (file)
@@ -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;