diff options
author | Matt Caswell <matt@openssl.org> | 2016-03-21 15:32:40 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-03-21 16:33:59 +0000 |
commit | f9e550341281b0d344f7a5e7ac2ace79f88a3184 (patch) | |
tree | 92d80d122c6d3c1eee39ffdd08cfe1980a657095 /apps/apps.c | |
parent | 168c3b737e898ce97348dfe77ef176e39ae9da0d (diff) | |
download | openssl-f9e550341281b0d344f7a5e7ac2ace79f88a3184.tar.gz |
Fix no-sock
Misc fixes for no-sock
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/apps.c')
-rw-r--r-- | apps/apps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/apps.c b/apps/apps.c index 694d090158..b4307427a5 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -640,7 +640,7 @@ static int load_pkcs12(BIO *in, const char *desc, return ret; } -#ifndef OPENSSL_NO_OCSP +#if !defined(OPENSSL_NO_OCSP) && !defined(OPENSSL_NO_SOCK) static int load_cert_crl_http(const char *url, X509 **pcert, X509_CRL **pcrl) { char *host = NULL, *port = NULL, *path = NULL; @@ -695,7 +695,7 @@ X509 *load_cert(const char *file, int format, const char *cert_descrip) BIO *cert; if (format == FORMAT_HTTP) { -#ifndef OPENSSL_NO_OCSP +#if !defined(OPENSSL_NO_OCSP) && !defined(OPENSSL_NO_SOCK) load_cert_crl_http(file, &x, NULL); #endif return x; @@ -736,7 +736,7 @@ X509_CRL *load_crl(const char *infile, int format) BIO *in = NULL; if (format == FORMAT_HTTP) { -#ifndef OPENSSL_NO_OCSP +#if !defined(OPENSSL_NO_OCSP) && !defined(OPENSSL_NO_SOCK) load_cert_crl_http(infile, NULL, &x); #endif return x; |