diff options
author | Patrik Sevallius <patrik.sevallius@assaabloy.com> | 2022-09-18 12:26:02 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2022-09-20 09:18:25 +0200 |
commit | 4689fe1bfd390db591ad5ab5479f06b52ac6f337 (patch) | |
tree | 00940c6d289e51284b350b6a4d3d85d65a722e14 /apps/mac.c | |
parent | Update documentation, standard input is expected to be in binary format too (diff) | |
download | openssl-4689fe1bfd390db591ad5ab5479f06b52ac6f337.tar.xz openssl-4689fe1bfd390db591ad5ab5479f06b52ac6f337.zip |
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/mac.c')
-rw-r--r-- | apps/mac.c | 3 |
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; |