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:
f9b3bff
)
Fix the recently introduced test that checks if the result is 0
author
Bodo Möller
<bodo@openssl.org>
Thu, 30 Nov 2000 22:58:27 +0000
(22:58 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 30 Nov 2000 22:58:27 +0000
(22:58 +0000)
crypto/bn/bn_exp2.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_exp2.c
b/crypto/bn/bn_exp2.c
index 4b41dae07896ccf0f844b03839e0651e67b830ff..73ccd58a83aa1f1c9f4a6bc8313b69ed7d4ebb05 100644
(file)
--- a/
crypto/bn/bn_exp2.c
+++ b/
crypto/bn/bn_exp2.c
@@
-176,7
+176,7
@@
int BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1,
}
else
a_mod_m = a1;
- if (BN_is_zero(
&(val1[0])
))
+ if (BN_is_zero(
a_mod_m
))
{
ret = BN_zero(rr);
goto err;
@@
-211,7
+211,7
@@
int BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1,
}
else
a_mod_m = a2;
- if (BN_is_zero(
&(val2[0])
))
+ if (BN_is_zero(
a_mod_m
))
{
ret = BN_zero(rr);
goto err;