From: Ben Laurie Date: Thu, 25 Feb 1999 09:43:26 +0000 (+0000) Subject: Fix clearly untested "clever" hack. X-Git-Tag: OpenSSL_0_9_2b~112 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4f9b306ca7495207b23f08aaabf0e7e25857e48b;p=oweals%2Fopenssl.git Fix clearly untested "clever" hack. --- diff --git a/Configure b/Configure index 91b3019a36..d93d5344ea 100755 --- a/Configure +++ b/Configure @@ -1,5 +1,5 @@ : -eval 'exec perl $0 -S ${1+"$@"}' +eval 'exec perl -S $0 ${1+"$@"}' if $running_under_some_shell; ## ## Configure -- OpenSSL source tree configuration script diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c index c4fb58ef9a..f915b6b46d 100644 --- a/crypto/bn/bn_prime.c +++ b/crypto/bn/bn_prime.c @@ -258,7 +258,7 @@ BN_MONT_CTX *mont; good=0; BN_mod_mul_montgomery(dd,d,d,mont,ctx2); - + if (good && (BN_cmp(dd,mont_one) == 0)) { ret=1;