Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-09-04 03:46:47 +0300
committerRichard Levitte <levitte@openssl.org>2015-09-06 02:29:36 +0300
commitd303b9d85e1888494785f87ebd9bd233e63564a9 (patch)
treeefb8e31a76f8c4541d79246b10a4fb70f79347c7 /apps/asn1pars.c
parente9daa8150abc8d96dd1e4dcd764355851f06ef2b (diff)
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 <tjh@openssl.org>
Diffstat (limited to 'apps/asn1pars.c')
-rw-r--r--apps/asn1pars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index 24b55681f0..8881ad4e33 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -197,7 +197,7 @@ int asn1parse_main(int argc, char **argv)
BIO_free(in);
}
- if ((in = bio_open_default(infile, "r")) == NULL)
+ if ((in = bio_open_default(infile, RB(informat))) == NULL)
goto end;
if (derfile && (derout = bio_open_default(derfile, "wb")) == NULL)