From 7b0280e96c976103d66ebabe5a23f4f9e18a88f1 Mon Sep 17 00:00:00 2001 From: miod <> Date: Wed, 9 Jul 2014 13:26:47 +0000 Subject: KNF --- src/lib/libcrypto/dh/dh_prn.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/lib/libcrypto/dh/dh_prn.c') diff --git a/src/lib/libcrypto/dh/dh_prn.c b/src/lib/libcrypto/dh/dh_prn.c index a249b650f8..846419691e 100644 --- a/src/lib/libcrypto/dh/dh_prn.c +++ b/src/lib/libcrypto/dh/dh_prn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dh_prn.c,v 1.3 2014/06/12 15:49:28 deraadt Exp $ */ +/* $OpenBSD: dh_prn.c,v 1.4 2014/07/09 13:26:47 miod Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -61,18 +61,18 @@ #include #include -int DHparams_print_fp(FILE *fp, const DH *x) - { +int +DHparams_print_fp(FILE *fp, const DH *x) +{ BIO *b; int ret; - if ((b=BIO_new(BIO_s_file())) == NULL) - { - DHerr(DH_F_DHPARAMS_PRINT_FP,ERR_R_BUF_LIB); - return(0); - } + if ((b = BIO_new(BIO_s_file())) == NULL) { + DHerr(DH_F_DHPARAMS_PRINT_FP, ERR_R_BUF_LIB); + return 0; + } BIO_set_fp(b,fp,BIO_NOCLOSE); - ret=DHparams_print(b, x); + ret = DHparams_print(b, x); BIO_free(b); - return(ret); - } + return ret; +} -- cgit v1.2.3-55-g6feb