From: Patrik Sevallius Date: Sun, 18 Sep 2022 10:26:02 +0000 (+0200) Subject: Always use FORMAT_BINARY for infile X-Git-Tag: openssl-3.2.0-alpha1~2062 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4689fe1bfd390db591ad5ab5479f06b52ac6f337;p=thirdparty%2Fopenssl.git Always use FORMAT_BINARY for infile CLA: trivial Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/19234) --- diff --git a/apps/mac.c b/apps/mac.c index 8bd7ce23977..0a07b2ea433 100644 --- a/apps/mac.c +++ b/apps/mac.c @@ -169,9 +169,6 @@ opthelp: goto err; } - /* Use text mode for stdin */ - if (infile == NULL || strcmp(infile, "-") == 0) - inform = FORMAT_TEXT; in = bio_open_default(infile, 'r', inform); if (in == NULL) goto err;