From bdd58d98467e9f0f6635c1628e1eae304383afb1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 4 Sep 2015 12:49:06 +0200 Subject: Change the way apps open their input and output files The different apps had the liberty to decide whether they would open their input and output files in binary mode or not, which could be confusing if two different apps were handling the same type of file in different ways. The solution is to centralise the decision of low level file organisation, and that the apps would use a selection of formats to state the intent of the file. Reviewed-by: Tim Hudson --- apps/dsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dsa.c') diff --git a/apps/dsa.c b/apps/dsa.c index 4fca852638..d829f980fa 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -225,7 +225,7 @@ int dsa_main(int argc, char **argv) goto end; } - out = bio_open_owner(outfile, WB(outformat), private); + out = bio_open_owner(outfile, outformat, private); if (out == NULL) goto end; -- cgit v1.2.1