diff options
author | Bodo Möller <bodo@openssl.org> | 2005-05-27 15:38:53 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2005-05-27 15:38:53 +0000 |
commit | a28a5d9c626c8b48d55f64ad77304578d1bd2a03 (patch) | |
tree | 90fa8f727776c772a77d4768477355e857616cbb /crypto/rsa/rsa_eay.c | |
parent | 3f791ca8188b71cba77e718d2d5c2ed7613d3b6a (diff) |
Use BN_with_flags() in a cleaner way.
Diffstat (limited to 'crypto/rsa/rsa_eay.c')
-rw-r--r-- | crypto/rsa/rsa_eay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index 175ab8a789..6954f36d5d 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -383,6 +383,7 @@ static int RSA_eay_private_encrypt(int flen, const unsigned char *from, if (!(rsa->flags & RSA_FLAG_NO_EXP_CONSTTIME)) { + BN_init(&local_d); d = &local_d; BN_with_flags(d, rsa->d, BN_FLG_EXP_CONSTTIME); } |