diff options
author | Richard Levitte <levitte@openssl.org> | 2020-10-20 11:56:22 +0200 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-10-22 12:14:32 +1000 |
commit | b78c777ee3038920064f5c2e3eb2a4f66a35119d (patch) | |
tree | 9eb5786fb794a2e4be77327a11d89cfe8211bca2 /apps/include/apps.h | |
parent | f31ac320012c9aa1540034288ea94f6c80924aa3 (diff) |
APPS: Implement load_keyparams() to load key parameters
'openssl dsaparam' is affected as an obvious usage example.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13191)
Diffstat (limited to 'apps/include/apps.h')
-rw-r--r-- | apps/include/apps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h index 195f226910..8bb92e07db 100644 --- a/apps/include/apps.h +++ b/apps/include/apps.h @@ -116,6 +116,7 @@ EVP_PKEY *load_key(const char *uri, int format, int maybe_stdin, const char *pass, ENGINE *e, const char *desc); EVP_PKEY *load_pubkey(const char *uri, int format, int maybe_stdin, const char *pass, ENGINE *e, const char *desc); +EVP_PKEY *load_keyparams(const char *uri, int maybe_stdin, const char *desc); int load_certs(const char *uri, STACK_OF(X509) **certs, const char *pass, const char *desc); int load_crls(const char *uri, STACK_OF(X509_CRL) **crls, @@ -123,6 +124,7 @@ int load_crls(const char *uri, STACK_OF(X509_CRL) **crls, int load_key_certs_crls(const char *uri, int maybe_stdin, const char *pass, const char *desc, EVP_PKEY **ppkey, EVP_PKEY **ppubkey, + EVP_PKEY **pparams, X509 **pcert, STACK_OF(X509) **pcerts, X509_CRL **pcrl, STACK_OF(X509_CRL) **pcrls); int load_key_cert_crl(const char *uri, int maybe_stdin, |