]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Always use FORMAT_BINARY for infile
authorPatrik Sevallius <patrik.sevallius@assaabloy.com>
Sun, 18 Sep 2022 10:26:02 +0000 (12:26 +0200)
committerHugo Landau <hlandau@openssl.org>
Tue, 20 Sep 2022 07:18:25 +0000 (08:18 +0100)
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)

apps/mac.c

index 8bd7ce23977bf66654eaffaff230a9b9fe08afbf..0a07b2ea4332968b9b86449111873d9118c6d1b8 100644 (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;