[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Tue Sep 4 12:29:49 UTC 2018


The branch OpenSSL_1_0_2-stable has been updated
       via  6e873259029939657a297e9fe451196df4e3da48 (commit)
      from  62025a4590baef6fc44ae36c6f90d233a79d36e9 (commit)


- Log -----------------------------------------------------------------
commit 6e873259029939657a297e9fe451196df4e3da48
Author: Richard Levitte <levitte at openssl.org>
Date:   Mon Sep 3 13:17:03 2018 +0200

    openssl req: don't try to report bits
    
    With the introduction of -pkeyopt, the number of bits may change
    without |newkey| being updated.  Unfortunately, there is no API to
    retrieve the information from a EVP_PKEY_CTX either, so chances are
    that we report incorrect information.  For the moment, it's better not
    to try to report the number of bits at all.
    
    Fixes #7086
    
    Reviewed-by: Paul Yang <yang.yang at baishancloud.com>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    (Merged from https://github.com/openssl/openssl/pull/7096)
    
    (cherry picked from commit 17147181bd3f97c53592e2a5c9319b854b954039)

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

Summary of changes:
 apps/req.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/apps/req.c b/apps/req.c
index 7fcab18..5422cac 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -659,8 +659,7 @@ int MAIN(int argc, char **argv)
             }
         }
 
-        BIO_printf(bio_err, "Generating a %ld bit %s private key\n",
-                   newkey, keyalgstr);
+        BIO_printf(bio_err, "Generating a %s private key\n", keyalgstr);
 
         EVP_PKEY_CTX_set_cb(genctx, genpkey_cb);
         EVP_PKEY_CTX_set_app_data(genctx, bio_err);


More information about the openssl-commits mailing list