commit | c2012f9b8253f72aa6259b6c42b56aead25a4e33 | [log] [tgz] |
---|---|---|
author | Andy Polyakov <appro@openssl.org> | Sat Oct 22 20:17:01 2005 +0000 |
committer | Andy Polyakov <appro@openssl.org> | Sat Oct 22 20:17:01 2005 +0000 |
tree | 3f44f03b8780b2f7ce1453dc62e87374c9930096 | |
parent | aa2be094ae908a6fa942723d5bd12aeac024f7d4 [diff] [blame] |
Eliminate gcc warning in bn_mont.c.
diff --git a/crypto/bn/bn_mont.c b/crypto/bn/bn_mont.c index f035c18..7a8b67b 100644 --- a/crypto/bn/bn_mont.c +++ b/crypto/bn/bn_mont.c
@@ -334,8 +334,8 @@ 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;