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:
0903e56
)
remove obsolete part of comment
author
Bodo Möller
<bodo@openssl.org>
Fri, 2 Aug 2002 15:13:10 +0000
(15:13 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 2 Aug 2002 15:13:10 +0000
(15:13 +0000)
crypto/bn/bn_sqrt.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_sqrt.c
b/crypto/bn/bn_sqrt.c
index 322dd10511a7b1715d72f661f61288d1628e96d4..463d4a81394fb57a3db51e3bc5c2abd13e497fc9 100644
(file)
--- a/
crypto/bn/bn_sqrt.c
+++ b/
crypto/bn/bn_sqrt.c
@@
-65,8
+65,6
@@
BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
* using the Tonelli/Shanks algorithm (cf. Henri Cohen, "A Course
* in Algebraic Computational Number Theory", algorithm 1.5.1).
* 'p' must be prime!
- * If 'a' is not a square, this is not necessarily detected by
- * the algorithms; a bogus result must be expected in this case.
*/
{
BIGNUM *ret = in;