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)
This commit is contained in:
Patrik Sevallius 2022-09-18 12:26:02 +02:00 committed by Hugo Landau
parent 054189bf7a
commit 4689fe1bfd
1 changed files with 0 additions and 3 deletions

View File

@ -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;