Skip to content

Commit

Permalink
Always use FORMAT_BINARY for infile
Browse files Browse the repository at this point in the history
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 #19234)

(cherry picked from commit 4689fe1)
  • Loading branch information
Patrik Sevallius authored and hlandau committed Sep 20, 2022
1 parent 6e2f619 commit 70f1b6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/mac.c
Expand Up @@ -170,9 +170,6 @@ int mac_main(int argc, char **argv)
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;
Expand Down

0 comments on commit 70f1b6a

Please sign in to comment.