summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPatrik Sevallius <patrik.sevallius@assaabloy.com>2022-09-18 12:26:02 +0200
committerHugo Landau <hlandau@openssl.org>2022-09-20 08:18:25 +0100
commit4689fe1bfd390db591ad5ab5479f06b52ac6f337 (patch)
tree00940c6d289e51284b350b6a4d3d85d65a722e14 /apps
parent054189bf7a9e68a7374744e7eaea344ba1784e68 (diff)
Always use FORMAT_BINARY for infile
CLA: trivial Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19234)
Diffstat (limited to 'apps')
-rw-r--r--apps/mac.c3
1 files changed, 0 insertions, 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;