mirror of https://github.com/openssl/openssl
print errors in pkey utility
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2177)
This commit is contained in:
parent
23b6699ecc
commit
0396a447f2
|
@ -179,6 +179,8 @@ int pkey_main(int argc, char **argv)
|
|||
ret = 0;
|
||||
|
||||
end:
|
||||
if (ret != 0)
|
||||
ERR_print_errors(bio_err);
|
||||
EVP_PKEY_free(pkey);
|
||||
release_engine(e);
|
||||
BIO_free_all(out);
|
||||
|
|
Loading…
Reference in New Issue