From: Bodo Möller Date: Fri, 2 Aug 2002 15:07:08 +0000 (+0000) Subject: remove obsoleted disabled code X-Git-Tag: OpenSSL_0_9_7-beta4~218^2~13 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=0903e56196a1a265dd9397e1e09a22aa4766914e remove obsoleted disabled code --- diff --git a/crypto/bn/bn_sqrt.c b/crypto/bn/bn_sqrt.c index 52dbc68a13..322dd10511 100644 --- 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; } -#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);