From abfb3cc4f17038c25fe35127d531730eaf8114ec Mon Sep 17 00:00:00 2001 From: Norbert Pocs Date: Mon, 13 Oct 2025 14:39:24 +0200 Subject: [PATCH] apps: Make genpkey verbose when verbose option is set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Norbert Pocs Reviewed-by: Tim Hudson Reviewed-by: Saša Nedvědický Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/28887) --- apps/genpkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/genpkey.c b/apps/genpkey.c index bd44c5871fd..2dcca2ee888 100644 --- a/apps/genpkey.c +++ b/apps/genpkey.c @@ -15,7 +15,7 @@ #include #include -static int verbose = 1; +static int verbose = 0; static int init_keygen_file(EVP_PKEY_CTX **pctx, const char *file, ENGINE *e, OSSL_LIB_CTX *libctx, const char *propq); @@ -254,7 +254,7 @@ int genpkey_main(int argc, char **argv) EVP_PKEY_CTX_set_app_data(ctx, bio_err); pkey = do_param ? app_paramgen(ctx, algname) - : app_keygen(ctx, algname, 0, 0 /* not verbose */); + : app_keygen(ctx, algname, 0, verbose); if (pkey == NULL) goto end; -- 2.47.3