summaryrefslogtreecommitdiffstats
path: root/apps/crl.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-02 14:00:22 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-02 14:00:22 +0000
commit95ea53186413c293d981ec1b042954a5fa47d8b7 (patch)
tree7574dc50ef95171d7b317f9570c27309cbd93010 /apps/crl.c
parent4842dde80c6846518df9d1b8fe9dba6db217ffdc (diff)
add option to get a certificate or CRL from a URL
Diffstat (limited to 'apps/crl.c')
-rw-r--r--apps/crl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/crl.c b/apps/crl.c
index c395b2afd5..888cf7ff8d 100644
--- a/apps/crl.c
+++ b/apps/crl.c
@@ -407,6 +407,12 @@ static X509_CRL *load_crl(char *infile, int format)
X509_CRL *x=NULL;
BIO *in=NULL;
+ if (format == FORMAT_HTTP)
+ {
+ load_cert_crl_http(infile, bio_err, NULL, &x);
+ return x;
+ }
+
in=BIO_new(BIO_s_file());
if (in == NULL)
{