aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn/bn_prime.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-02-25 09:43:26 +0000
committerBen Laurie <ben@openssl.org>1999-02-25 09:43:26 +0000
commit4f9b306ca7495207b23f08aaabf0e7e25857e48b (patch)
treefa1e457c29278387e1be0a9c6a6bdc1337749d92 /crypto/bn/bn_prime.c
parent74cc3698bdb1e55cea9927122e4adaea828514c9 (diff)
downloadopenssl-4f9b306ca7495207b23f08aaabf0e7e25857e48b.zip
openssl-4f9b306ca7495207b23f08aaabf0e7e25857e48b.tar.gz
openssl-4f9b306ca7495207b23f08aaabf0e7e25857e48b.tar.bz2
Fix clearly untested "clever" hack.
Diffstat (limited to 'crypto/bn/bn_prime.c')
-rw-r--r--crypto/bn/bn_prime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c
index c4fb58e..f915b6b 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;