]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
load_key_certs_crls(): There is no quiet argument
authorTomas Mraz <tomas@openssl.org>
Thu, 19 Oct 2023 08:30:15 +0000 (10:30 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 19 Oct 2023 08:30:15 +0000 (10:30 +0200)
This fixes broken cherry-pick from the master branch
where there is a quiet argument.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22434)

apps/lib/apps.c

index 69f21380a5db5a385a3ea09a6eb61f1fd54338f3..1554364aac8a275b6a2dcef68b8f87783894a5d4 100644 (file)
@@ -957,13 +957,11 @@ int load_key_certs_crls(const char *uri, int format, int maybe_stdin,
                                  params, NULL, NULL);
     }
     if (ctx == NULL) {
-        if (!quiet)
-            BIO_printf(bio_err, "Could not open file or uri for loading");
+        BIO_printf(bio_err, "Could not open file or uri for loading");
         goto end;
     }
     if (expect > 0 && !OSSL_STORE_expect(ctx, expect)) {
-        if (!quiet)
-            BIO_printf(bio_err, "Internal error trying to load");
+        BIO_printf(bio_err, "Internal error trying to load");
         goto end;
     }