diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-12-06 18:43:40 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-01-18 15:38:13 +0000 |
commit | 57912ed329f870b237f2fd9f2de8dec3477d1729 (patch) | |
tree | 9f38f8edce44b775fc043c25d5fe9d96a5c53cb3 /apps/apps.h | |
parent | e998f8aeb83885275aefbba59c811e48308b2771 (diff) |
Add code to download CRLs based on CRLDP extension.
Just a sample, real world applications would have to be cleverer.
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/apps.h b/apps/apps.h index 8a38fe70aa..6a71b8323a 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -245,7 +245,7 @@ int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2); int add_oid_section(BIO *err, CONF *conf); X509 *load_cert(BIO *err, const char *file, int format, const char *pass, ENGINE *e, const char *cert_descrip); -X509_CRL *load_crl(char *infile, int format); +X509_CRL *load_crl(const char *infile, int format); int load_cert_crl_http(const char *url, BIO *err, X509 **pcert, X509_CRL **pcrl); EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin, @@ -343,6 +343,8 @@ void print_cert_checks(BIO *bio, X509 *x, const unsigned char *checkemail, const char *checkip); +void store_setup_crl_download(X509_STORE *st); + #define FORMAT_UNDEF 0 #define FORMAT_ASN1 1 #define FORMAT_TEXT 2 |