]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - apps/lib/apps.c
allow to disable http
[thirdparty/openssl.git] / apps / lib / apps.c
index 4f92016ee2f57f53a7e7456c8731d6f1c88707de..b8beef055621df611f554426e3a87a2a3eae7e49 100644 (file)
@@ -2499,7 +2499,7 @@ void store_setup_crl_download(X509_STORE *st)
     X509_STORE_set_lookup_crls_cb(st, crls_http_cb);
 }
 
-#ifndef OPENSSL_NO_SOCK
+#if !defined(OPENSSL_NO_SOCK) && !defined(OPENSSL_NO_HTTP)
 static const char *tls_error_hint(void)
 {
     unsigned long err = ERR_peek_error();