projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct a typo.
[oweals/openssl.git]
/
crypto
/
bn
/
bn_exp2.c
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;
}
else
a_mod_m = a1;
- if (BN_is_zero(
&(val1[0])
))
+ if (BN_is_zero(
a_mod_m
))
{
ret = BN_zero(rr);
goto err;
{
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;
}
else
a_mod_m = a2;
- if (BN_is_zero(
&(val2[0])
))
+ if (BN_is_zero(
a_mod_m
))
{
ret = BN_zero(rr);
goto err;
{
ret = BN_zero(rr);
goto err;