From 208fb891e36f16d20262710c70ef0ff3df0e885c Mon Sep 17 00:00:00 2001 From: KaoruToda Date: Mon, 9 Oct 2017 20:05:58 +0900 Subject: Since return is inconsistent, I removed unnecessary parentheses and unified them. - return (0); -> return 0; - return (1); -> return 1; - return (-1); -> return -1; Reviewed-by: Stephen Henson Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/4500) --- crypto/dh/dh_key.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/dh/dh_key.c') diff --git a/crypto/dh/dh_key.c b/crypto/dh/dh_key.c index ce01948602..226c52d5d6 100644 --- a/crypto/dh/dh_key.c +++ b/crypto/dh/dh_key.c @@ -217,11 +217,11 @@ static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, static int dh_init(DH *dh) { dh->flags |= DH_FLAG_CACHE_MONT_P; - return (1); + return 1; } static int dh_finish(DH *dh) { BN_MONT_CTX_free(dh->method_mont_p); - return (1); + return 1; } -- cgit v1.2.3