summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/apps/ocsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/apps/ocsp.c')
-rw-r--r--lib/libssl/src/apps/ocsp.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libssl/src/apps/ocsp.c b/lib/libssl/src/apps/ocsp.c
index 5b296a96b71..461f21d6eb8 100644
--- a/lib/libssl/src/apps/ocsp.c
+++ b/lib/libssl/src/apps/ocsp.c
@@ -627,15 +627,10 @@ redo_accept:
if (cbio)
send_ocsp_response(cbio, resp);
} else if (host) {
-#ifndef OPENSSL_NO_SOCK
resp = process_responder(bio_err, req, host, path,
port, use_ssl, headers, req_timeout);
if (!resp)
goto end;
-#else
- BIO_printf(bio_err, "Error creating connect BIO - sockets not supported.\n");
- goto end;
-#endif
} else if (respin) {
derbio = BIO_new_file(respin, "rb");
if (!derbio) {
@@ -1019,11 +1014,7 @@ init_responder(char *port)
bufbio = BIO_new(BIO_f_buffer());
if (!bufbio)
goto err;
-#ifndef OPENSSL_NO_SOCK
acbio = BIO_new_accept(port);
-#else
- BIO_printf(bio_err, "Error setting up accept BIO - sockets not supported.\n");
-#endif
if (!acbio)
goto err;
BIO_set_accept_bios(acbio, bufbio);