diff options
author | Bodo Möller <bodo@openssl.org> | 2008-02-27 06:01:28 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2008-02-27 06:01:28 +0000 |
commit | 7c9882eb24517f2c5b6b432c81ed92b640fe6cc7 (patch) | |
tree | 02f0eee8326aedad1f39e7a0e04ed49c22532202 /crypto/bn/bn_mont.c | |
parent | 0d7f6fc76a10a6e6fe2d6b7f82710fabce097c5a (diff) |
fix BIGNUM flag handling
Diffstat (limited to 'crypto/bn/bn_mont.c')
-rw-r--r-- | crypto/bn/bn_mont.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c index dcee538d84..ecbee2aacd 100644 --- a/crypto/bn/bn_mont.c +++ b/crypto/bn/bn_mont.c @@ -425,6 +425,7 @@ int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) BIGNUM tmod; BN_ULONG buf[2]; + BN_init(&tmod); tmod.d=buf; tmod.dmax=2; tmod.neg=0; |