mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
APPS load_key_certs_crls(): improve diagnostics on not finding expected types of contents
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20156)
This commit is contained in:
parent
c007203b94
commit
fedab100a4
@ -1071,7 +1071,9 @@ int load_key_certs_crls(const char *uri, int format, int maybe_stdin,
|
||||
if (failed == NULL) {
|
||||
failed = FAIL_NAME;
|
||||
if (failed != NULL)
|
||||
BIO_printf(bio_err, "Could not read");
|
||||
BIO_printf(bio_err, "Could not find");
|
||||
} else {
|
||||
BIO_printf(bio_err, "Could not read");
|
||||
}
|
||||
if (failed != NULL) {
|
||||
unsigned long err = ERR_peek_last_error();
|
||||
|
Loading…
Reference in New Issue
Block a user