diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-02-21 21:41:56 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-02-21 21:41:56 +0100 |
commit | e8d0819d52b2741fcb4ddb79ced4d824c3056918 (patch) | |
tree | 751519d69bc54c407c7431f1a0efd1d1017a177a /crypto/http/http_local.h | |
parent | 745fc918e7eeb86b2ac541325a8ae5c6e374ee56 (diff) |
Don't exclude quite so much in a no-sock build
We were excluding more code than we needed to in the OCSP/HTTP code in
the event of no-sock. We should also not assume that a BIO passed to our
API is socket based.
This fixes the no-sock build
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/11134)
Diffstat (limited to 'crypto/http/http_local.h')
-rw-r--r-- | crypto/http/http_local.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/http/http_local.h b/crypto/http/http_local.h index 37eb74a660..4e6577f66d 100644 --- a/crypto/http/http_local.h +++ b/crypto/http/http_local.h @@ -22,9 +22,7 @@ typedef OCSP_REQ_CTX OSSL_HTTP_REQ_CTX; # define OSSL_HTTP_REQ_CTX_add1_header OCSP_REQ_CTX_add1_header # define OSSL_HTTP_REQ_CTX_i2d OCSP_REQ_CTX_i2d # define OSSL_HTTP_REQ_CTX_nbio OCSP_REQ_CTX_nbio -# ifndef OPENSSL_NO_SOCK -# define OSSL_HTTP_REQ_CTX_sendreq_d2i OCSP_REQ_CTX_nbio_d2i -# endif +# define OSSL_HTTP_REQ_CTX_sendreq_d2i OCSP_REQ_CTX_nbio_d2i /* functions that are meanwhile unused */ # define OSSL_HTTP_REQ_CTX_get0_mem_bio OCSP_REQ_CTX_get0_mem_bio /* undoc'd */ # define OSSL_HTTP_REQ_CTX_set_max_response_length OCSP_set_max_response_length |