From d746e49bcd9cc84cce13b1cd2d3ea35b909880a7 Mon Sep 17 00:00:00 2001 From: Bernard Spil Date: Mon, 24 Apr 2017 18:43:49 +0200 Subject: [PATCH] openssl enc: Don't unbuffer stdin - unbuffer causes single-byte reads from stdin and poor performance Fixes #3281 CLA: trivial Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/3299) (cherry picked from commit 65d62488b8c808350f440d2276034f5223b391ad) --- apps/enc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/enc.c b/apps/enc.c index b11d553205..c906563311 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -291,7 +291,6 @@ int enc_main(int argc, char **argv) buff = app_malloc(EVP_ENCODE_LENGTH(bsize), "evp buffer"); if (infile == NULL) { - unbuffer(stdin); in = dup_bio_in(informat); } else in = bio_open_default(infile, 'r', informat); -- 2.25.1