Redefine macro X509_http_nbio to avoid using ocsp.h
authorDaniel Fiala <daniel@openssl.org>
Tue, 29 Mar 2022 18:32:42 +0000 (20:32 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 5 Apr 2022 07:21:14 +0000 (09:21 +0200)
commit3954b189362b6482d4084a2f8a4f8ff60b2022c8
treed1ef525b61c4627df87f49d7e72a67b86dc68987
parent1293ca69d49e331e2f13bf5e099825140c18f93c
Redefine macro X509_http_nbio to avoid using ocsp.h

The functions used from ocsp.h are actually just aliases
for functions from http.h. Use them directly to avoid
including ocsp.h.

Fixes openssl#17148

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17980)

(cherry picked from commit f593f32eede30ead69e0a16e47a564a664171283)
include/openssl/x509.h.in