summaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_check.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-12-09 21:17:05 +0100
committerMatt Caswell <matt@openssl.org>2017-01-25 09:06:34 +0000
commite705fcf197b397cdfa1367f5ebd9826775a5a981 (patch)
tree3c13aaa77f376f86429a86a635c31dd1d26c33b5 /crypto/dh/dh_check.c
parent48722ff5f0988128c85e3cd3169d6457d6450c11 (diff)
Style
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1618)
Diffstat (limited to 'crypto/dh/dh_check.c')
-rw-r--r--crypto/dh/dh_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_check.c b/crypto/dh/dh_check.c
index fcc1d99ad7..b362ccfea1 100644
--- a/crypto/dh/dh_check.c
+++ b/crypto/dh/dh_check.c
@@ -92,7 +92,7 @@ int DH_check(const DH *dh, int *ret)
r = BN_is_prime_ex(t1, BN_prime_checks, ctx, NULL);
if (r < 0)
goto err;
- if (!r)
+ if (!r)
*ret |= DH_CHECK_P_NOT_SAFE_PRIME;
}
ok = 1;