Skip to content

Commit

Permalink
load_key_certs_crls(): There is no quiet argument
Browse files Browse the repository at this point in the history
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 #22434)
  • Loading branch information
t8m committed Oct 19, 2023
1 parent c16c5be commit 307048c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/lib/apps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 307048c

Please sign in to comment.