From 65d62488b8c808350f440d2276034f5223b391ad 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) --- apps/enc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/enc.c b/apps/enc.c index a1b2b3cac8..157cb943b6 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.34.1