]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/ocsp/ocsp_http.c
Don't exclude quite so much in a no-sock build
[thirdparty/openssl.git] / crypto / ocsp / ocsp_http.c
index 39277c1bba223214b9bdb82b1be1640d487b7503..1e270100ad4fbe641658589f91c88c2ec0cdf7cf 100644 (file)
@@ -35,7 +35,6 @@ OCSP_REQ_CTX *OCSP_sendreq_new(BIO *io, const char *path, OCSP_REQUEST *req,
     return res;
 }
 
-# ifndef OPENSSL_NO_SOCK
 int OCSP_sendreq_nbio(OCSP_RESPONSE **presp, OCSP_REQ_CTX *rctx)
 {
     *presp = (OCSP_RESPONSE *)
@@ -60,6 +59,4 @@ OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req)
 
     return rv == 1 ? resp : NULL;
 }
-# endif /* !defined(OPENSSL_NO_SOCK) */
-
 #endif /* !defined(OPENSSL_NO_OCSP) */