summaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_prn.c
diff options
context:
space:
mode:
authorKaoruToda <kunnpuu@gmail.com>2017-10-17 16:04:09 +0200
committerMatt Caswell <matt@openssl.org>2017-10-18 17:05:06 +0200
commit26a7d938c9bf932a55cb5e4e02abb48fe395c5cd (patch)
treece5b1908c181722514aa80d03026c6f42ab85972 /crypto/dh/dh_prn.c
parentAdd missing RAND_DRBG locking (diff)
downloadopenssl-26a7d938c9bf932a55cb5e4e02abb48fe395c5cd.tar.xz
openssl-26a7d938c9bf932a55cb5e4e02abb48fe395c5cd.zip
Remove parentheses of return.
Since return is inconsistent, I removed unnecessary parentheses and unified them. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4541)
Diffstat (limited to 'crypto/dh/dh_prn.c')
-rw-r--r--crypto/dh/dh_prn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/dh/dh_prn.c b/crypto/dh/dh_prn.c
index 283fb0f4a3..aab1733db3 100644
--- a/crypto/dh/dh_prn.c
+++ b/crypto/dh/dh_prn.c
@@ -20,11 +20,11 @@ int DHparams_print_fp(FILE *fp, const DH *x)
if ((b = BIO_new(BIO_s_file())) == NULL) {
DHerr(DH_F_DHPARAMS_PRINT_FP, ERR_R_BUF_LIB);
- return (0);
+ return 0;
}
BIO_set_fp(b, fp, BIO_NOCLOSE);
ret = DHparams_print(b, x);
BIO_free(b);
- return (ret);
+ return ret;
}
#endif