From 4f9b306ca7495207b23f08aaabf0e7e25857e48b Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Thu, 25 Feb 1999 09:43:26 +0000 Subject: [PATCH] Fix clearly untested "clever" hack. --- Configure | 2 +- crypto/bn/bn_prime.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.25.1