Don't exclude quite so much in a no-sock build
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 21 Feb 2020 20:41:56 +0000 (21:41 +0100)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 21 Feb 2020 20:41:56 +0000 (21:41 +0100)
commite8d0819d52b2741fcb4ddb79ced4d824c3056918
tree751519d69bc54c407c7431f1a0efd1d1017a177a
parent745fc918e7eeb86b2ac541325a8ae5c6e374ee56
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)
12 files changed:
crypto/bio/b_sock.c
crypto/bio/bio_lib.c
crypto/http/http_client.c
crypto/http/http_local.h
crypto/ocsp/ocsp_http.c
doc/man3/BIO_socket_wait.pod
include/internal/cryptlib.h
include/openssl/bio.h
include/openssl/http.h
include/openssl/ocsp.h
test/ssltestlib.c
util/libcrypto.num