From: Norbert Pocs Date: Mon, 13 Oct 2025 12:39:24 +0000 (+0200) Subject: apps: Make genpkey verbose when verbose option is set X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abfb3cc4f17038c25fe35127d531730eaf8114ec;p=thirdparty%2Fopenssl.git apps: Make genpkey verbose when verbose option is set 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) --- 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;