mirror of https://github.com/openssl/openssl
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:
parent
054189bf7a
commit
4689fe1bfd
|
@ -169,9 +169,6 @@ opthelp:
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Use text mode for stdin */
|
|
||||||
if (infile == NULL || strcmp(infile, "-") == 0)
|
|
||||||
inform = FORMAT_TEXT;
|
|
||||||
in = bio_open_default(infile, 'r', inform);
|
in = bio_open_default(infile, 'r', inform);
|
||||||
if (in == NULL)
|
if (in == NULL)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
Loading…
Reference in New Issue