From 4689fe1bfd390db591ad5ab5479f06b52ac6f337 Mon Sep 17 00:00:00 2001 From: Patrik Sevallius Date: Sun, 18 Sep 2022 12:26:02 +0200 Subject: [PATCH] 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) --- apps/mac.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/mac.c b/apps/mac.c index 8bd7ce2397..0a07b2ea43 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;