summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/dh/dh_ameth.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/dh/dh_ameth.c b/src/lib/libcrypto/dh/dh_ameth.c
index f1e15762a1..3de0bb9333 100644
--- a/src/lib/libcrypto/dh/dh_ameth.c
+++ b/src/lib/libcrypto/dh/dh_ameth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: dh_ameth.c,v 1.27 2023/04/17 05:51:16 tb Exp $ */ 1/* $OpenBSD: dh_ameth.c,v 1.28 2023/04/17 05:57:17 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2006. 3 * project 2006.
4 */ 4 */
@@ -484,9 +484,11 @@ DHparams_print_fp(FILE *fp, const DH *x)
484 DHerror(ERR_R_BUF_LIB); 484 DHerror(ERR_R_BUF_LIB);
485 return 0; 485 return 0;
486 } 486 }
487 BIO_set_fp(b,fp,BIO_NOCLOSE); 487
488 BIO_set_fp(b, fp, BIO_NOCLOSE);
488 ret = DHparams_print(b, x); 489 ret = DHparams_print(b, x);
489 BIO_free(b); 490 BIO_free(b);
491
490 return ret; 492 return ret;
491} 493}
492 494