projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
95ecacf
)
remove obsoleted disabled code
author
Bodo Möller
<bodo@openssl.org>
Fri, 2 Aug 2002 15:07:08 +0000
(15:07 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 2 Aug 2002 15:07:08 +0000
(15:07 +0000)
crypto/bn/bn_sqrt.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_sqrt.c
b/crypto/bn/bn_sqrt.c
index 52dbc68a131e8859a4f77f0ef06317b1880b1689..322dd10511a7b1715d72f661f61288d1628e96d4 100644
(file)
--- a/
crypto/bn/bn_sqrt.c
+++ b/
crypto/bn/bn_sqrt.c
@@
-109,16
+109,6
@@
BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
return ret;
}
return ret;
}
-#if 0 /* if BN_mod_sqrt is used with correct input, this just wastes time */
- r = BN_kronecker(a, p, ctx);
- if (r < -1) return NULL;
- if (r == -1)
- {
- BNerr(BN_F_BN_MOD_SQRT, BN_R_NOT_A_SQUARE);
- return(NULL);
- }
-#endif
-
BN_CTX_start(ctx);
A = BN_CTX_get(ctx);
b = BN_CTX_get(ctx);
BN_CTX_start(ctx);
A = BN_CTX_get(ctx);
b = BN_CTX_get(ctx);