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.
  • Loading branch information
t8m committed Oct 19, 2023
1 parent c16c5be commit ed1702e
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 ed1702e

Please sign in to comment.