mirror of https://github.com/openssl/openssl.git
load_key_certs_crls(): There is no quiet argument
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)
(cherry picked from commit 307048cd4e)
This commit is contained in:
parent
b130e18e43
commit
d97993a7a0
|
|
@ -961,13 +961,11 @@ int load_key_certs_crls_suppress(const char *uri, int format, int maybe_stdin,
|
||||||
params, NULL, NULL);
|
params, NULL, NULL);
|
||||||
}
|
}
|
||||||
if (ctx == 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;
|
goto end;
|
||||||
}
|
}
|
||||||
if (expect > 0 && !OSSL_STORE_expect(ctx, expect)) {
|
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;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue