From d303b9d85e1888494785f87ebd9bd233e63564a9 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 4 Sep 2015 02:46:47 +0200 Subject: Make the handling of output and input formats consistent Most of all, we needed to sort out which ones are binary and which ones are text, and make sure they are treated accordingly and consistently so Reviewed-by: Tim Hudson --- apps/dhparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dhparam.c') diff --git a/apps/dhparam.c b/apps/dhparam.c index 2e5ce2c6d3..0640cf808b 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -352,7 +352,7 @@ int dhparam_main(int argc, char **argv) /* dh != NULL */ } - out = bio_open_default(outfile, "w"); + out = bio_open_default(outfile, WB(outformat)); if (out == NULL) goto end; -- cgit v1.2.3