[openssl] master update

tomas at openssl.org tomas at openssl.org
Mon Oct 11 14:32:18 UTC 2021


The branch master has been updated
       via  58608487a44b3991ecc6d431d6273b2ca8c980a6 (commit)
      from  0db3a9904fa00569905be130854a31dab7b8f49d (commit)


- Log -----------------------------------------------------------------
commit 58608487a44b3991ecc6d431d6273b2ca8c980a6
Author: Tomas Mraz <tomas at openssl.org>
Date:   Thu Oct 7 17:34:08 2021 +0200

    req: Do not warn about using stdin when generating new request
    
    Fixes #16773
    
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/16774)

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

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

diff --git a/apps/req.c b/apps/req.c
index f756c25b2a..aac972e29b 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -492,7 +492,7 @@ int req_main(int argc, char **argv)
     if (infile == NULL) {
         if (gen_x509)
             newreq = 1;
-        else
+        else if (!newreq)
             BIO_printf(bio_err,
                        "Warning: Will read cert request from stdin since no -in option is given\n");
     }


More information about the openssl-commits mailing list