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:
0b5806b
)
tmp2 is not used in BN_mod_mul_montgomery.
author
Bodo Möller
<bodo@openssl.org>
Thu, 9 Nov 2000 16:39:01 +0000
(16:39 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Thu, 9 Nov 2000 16:39:01 +0000
(16:39 +0000)
crypto/bn/bn_mont.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_mont.c
b/crypto/bn/bn_mont.c
index 202eec4462f3e52bc2613e54ecd8cd25729c400a..99e7c623e252c19ca070c333de1bb0cc6d0dd959 100644
(file)
--- a/
crypto/bn/bn_mont.c
+++ b/
crypto/bn/bn_mont.c
@@
-77,12
+77,9
@@
int BN_mod_mul_montgomery(BIGNUM *r, const BIGNUM *a, const BIGNUM *b,
BN_CTX_start(ctx);
tmp = BN_CTX_get(ctx);
- tmp2 = BN_CTX_get(ctx);
- if (tmp == NULL || tmp2 == NULL) goto err;
+ if (tmp == NULL) goto err;
bn_check_top(tmp);
- bn_check_top(tmp2);
-
if (a == b)
{
if (!BN_sqr(tmp,a,ctx)) goto err;