summaryrefslogtreecommitdiffstats
path: root/apps/include/apps.h
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-03-10 17:27:13 +0100
committerDr. David von Oheimb <dev@ddvo.net>2021-03-13 11:16:13 +0100
commitf62846b703d163265176fe960ec7d087b4c3fa96 (patch)
treefc5a92d8f17b5cd7da56add4be96fa6a088ba79d /apps/include/apps.h
parentc89fd035d54f8c80cd0bbd26b9a90fcff385cbb5 (diff)
apps/ts.c: Allow -untrusted arg to refer to multiple sources
This requires moving generally useful functions from apps/cmp.c to apps/lib/apps.c Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14504)
Diffstat (limited to 'apps/include/apps.h')
-rw-r--r--apps/include/apps.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h
index 8c365c44bd..416e1d2568 100644
--- a/apps/include/apps.h
+++ b/apps/include/apps.h
@@ -120,6 +120,15 @@ 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 *keytype,
const char *desc);
+char *next_item(char *opt); /* in list separated by comma and/or space */
+int load_cert_certs(const char *uri,
+ X509 **pcert, STACK_OF(X509) **pcerts,
+ int exclude_http, const char *pass, const char *desc,
+ X509_VERIFY_PARAM *vpm);
+STACK_OF(X509) *load_certs_multifile(char *files, const char *pass,
+ const char *desc, X509_VERIFY_PARAM *vpm);
+X509_STORE *load_certstore(char *input, const char *pass, const char *desc,
+ X509_VERIFY_PARAM *vpm);
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,