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/dsa/dsa_key.c | |
parent | 3f791ca8188b71cba77e718d2d5c2ed7613d3b6a (diff) |
Use BN_with_flags() in a cleaner way.
Diffstat (limited to 'crypto/dsa/dsa_key.c')
-rw-r--r-- | crypto/dsa/dsa_key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_key.c b/crypto/dsa/dsa_key.c index 5ba885e1e2..0423f2e00c 100644 --- a/crypto/dsa/dsa_key.c +++ b/crypto/dsa/dsa_key.c @@ -105,6 +105,7 @@ static int dsa_builtin_keygen(DSA *dsa) if ((dsa->flags & DSA_FLAG_NO_EXP_CONSTTIME) == 0) { + BN_init(&local_prk); prk = &local_prk; BN_with_flags(prk, priv_key, BN_FLG_EXP_CONSTTIME); } |