diff options
author | Ben Laurie <ben@openssl.org> | 1999-02-25 09:43:26 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-02-25 09:43:26 +0000 |
commit | 4f9b306ca7495207b23f08aaabf0e7e25857e48b (patch) | |
tree | fa1e457c29278387e1be0a9c6a6bdc1337749d92 | |
parent | 74cc3698bdb1e55cea9927122e4adaea828514c9 (diff) |
Fix clearly untested "clever" hack.
-rwxr-xr-x | Configure | 2 | ||||
-rw-r--r-- | crypto/bn/bn_prime.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; |