mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Eliminate gcc warning in bn_mont.c.
This commit is contained in:
parent
aa2be094ae
commit
c2012f9b82
@ -334,8 +334,8 @@ int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
|
||||
if (!(BN_set_bit(R,2*BN_BITS2))) goto err;
|
||||
|
||||
tmod.top=0;
|
||||
if (buf[0] = mod->d[0]) tmod.top=1;
|
||||
if (buf[1] = mod->top>1 ? mod->d[1] : 0) tmod.top=2;
|
||||
if ((buf[0] = mod->d[0])) tmod.top=1;
|
||||
if ((buf[1] = mod->top>1 ? mod->d[1] : 0)) tmod.top=2;
|
||||
|
||||
if ((BN_mod_inverse(Ri,R,&tmod,ctx)) == NULL)
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user