[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Tue Apr 25 13:03:21 UTC 2017


The branch master has been updated
       via  65d62488b8c808350f440d2276034f5223b391ad (commit)
      from  f7b3cb2ad0fac9d5ea0025c4d84ff4603a78b64e (commit)


- Log -----------------------------------------------------------------
commit 65d62488b8c808350f440d2276034f5223b391ad
Author: Bernard Spil <brnrd at FreeBSD.org>
Date:   Mon Apr 24 18:43:49 2017 +0200

    openssl enc: Don't unbuffer stdin
    
     - unbuffer causes single-byte reads from stdin and poor performance
    
    Fixes #3281
    CLA: trivial
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3299)

-----------------------------------------------------------------------

Summary of changes:
 apps/enc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/enc.c b/apps/enc.c
index a1b2b3c..157cb94 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);


More information about the openssl-commits mailing list