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:
74cc369
)
Fix clearly untested "clever" hack.
author
Ben Laurie
<ben@openssl.org>
Thu, 25 Feb 1999 09:43:26 +0000
(09:43 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 25 Feb 1999 09:43:26 +0000
(09:43 +0000)
Configure
patch
|
blob
|
history
crypto/bn/bn_prime.c
patch
|
blob
|
history
diff --git
a/Configure
b/Configure
index 91b3019a3643d939e0b63464e3c4fe6e074dd3e2..d93d5344ea71bbd4c3cc54e2da1c445cb643bdfa 100755
(executable)
--- 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 c4fb58ef9ae62ddf4ba3208dcaf31355dde1055d..f915b6b46da3ae58af87473118fdf167b956b18c 100644
(file)
--- 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;