[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

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


The branch OpenSSL_1_1_0-stable has been updated
       via  d746e49bcd9cc84cce13b1cd2d3ea35b909880a7 (commit)
      from  1e0b1ae58393bc25b5ece816b2df0525a862bdd1 (commit)


- Log -----------------------------------------------------------------
commit d746e49bcd9cc84cce13b1cd2d3ea35b909880a7
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)
    (cherry picked from commit 65d62488b8c808350f440d2276034f5223b391ad)

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

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

diff --git a/apps/enc.c b/apps/enc.c
index b11d553..c906563 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