projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa2be09
)
Eliminate gcc warning in bn_mont.c.
author
Andy Polyakov
<appro@openssl.org>
Sat, 22 Oct 2005 20:17:01 +0000
(20:17 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Sat, 22 Oct 2005 20:17:01 +0000
(20:17 +0000)
crypto/bn/bn_mont.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_mont.c
b/crypto/bn/bn_mont.c
index f035c189737b3008043507b107f1a52604c2b59b..7a8b67ba5547a99307aeb9fe6827539235bdf88c 100644
(file)
--- a/
crypto/bn/bn_mont.c
+++ b/
crypto/bn/bn_mont.c
@@
-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;