From: Tomas Mraz Date: Mon, 9 Oct 2023 09:39:12 +0000 (+0200) Subject: apps.c: Remove a redundant error print-out X-Git-Tag: openssl-3.2.0-beta1~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d768852e938ea1b4c6076df0c5a1e59f9027f8c;p=thirdparty%2Fopenssl.git apps.c: Remove a redundant error print-out Reviewed-by: David von Oheimb Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/22318) --- diff --git a/apps/lib/apps.c b/apps/lib/apps.c index 945ac1e716c..47d994b9c2f 100644 --- a/apps/lib/apps.c +++ b/apps/lib/apps.c @@ -1106,8 +1106,6 @@ int load_key_certs_crls(const char *uri, int format, int maybe_stdin, failed = FAIL_NAME; if (failed != NULL && !quiet) BIO_printf(bio_err, "Could not find"); - } else if (!quiet) { - BIO_printf(bio_err, "Could not read"); } if (failed != NULL && !quiet) { unsigned long err = ERR_peek_last_error();