summaryrefslogtreecommitdiffstats
path: root/apps/crl.c
diff options
context:
space:
mode:
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)
{