From 50eb2a507732b4d32879709dbfa335ccb542f676 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Thu, 17 Sep 2020 01:39:00 +0200 Subject: load_key_certs_crls(): Restore output of fatal errors Also improve credentials loading diagnostics for many apps. Fixes #12840 Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/12893) --- apps/smime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/smime.c') diff --git a/apps/smime.c b/apps/smime.c index 9113038db7..e6d539457e 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -471,7 +471,7 @@ int smime_main(int argc, char **argv) } if (keyfile != NULL) { - key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); + key = load_key(keyfile, keyform, 0, passin, e, "signing key"); if (key == NULL) goto end; @@ -573,7 +573,7 @@ int smime_main(int argc, char **argv) "signer certificate"); if (signer == NULL) goto end; - key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); + key = load_key(keyfile, keyform, 0, passin, e, "signing key"); if (key == NULL) goto end; -- cgit v1.2.3