diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-17 01:39:00 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-24 14:34:56 +0200 |
commit | 50eb2a507732b4d32879709dbfa335ccb542f676 (patch) | |
tree | 18bba64cf2babfee3c6ee5f89a7cde5c579d7807 /apps/ec.c | |
parent | 254b5dcabd205b2229439020c768a0c9da0d8d7b (diff) |
load_key_certs_crls(): Restore output of fatal errors
Also improve credentials loading diagnostics for many apps.
Fixes #12840
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12893)
Diffstat (limited to 'apps/ec.c')
-rw-r--r-- | apps/ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -194,9 +194,9 @@ int ec_main(int argc, char **argv) } else if (informat == FORMAT_ENGINE) { EVP_PKEY *pkey; if (pubin) - pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key"); + pkey = load_pubkey(infile, informat, 1, passin, e, "public key"); else - pkey = load_key(infile, informat, 1, passin, e, "Private Key"); + pkey = load_key(infile, informat, 1, passin, e, "private key"); if (pkey != NULL) { eckey = EVP_PKEY_get1_EC_KEY(pkey); EVP_PKEY_free(pkey); |