mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
HAVE_HTTP_CLIENT is disabled if WOLFSSL_USER_IO is defined in wolfsssl/wolfio.h
This commit is contained in:
@ -30,10 +30,13 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* OCSP and CRL_IO require HTTP client */
|
/* Micrium uses NetSock I/O callbacks in wolfio.c */
|
||||||
#if defined(HAVE_OCSP) || defined(HAVE_CRL_IO)
|
#if !defined(WOLFSSL_USER_IO)
|
||||||
#ifndef HAVE_HTTP_CLIENT
|
/* OCSP and CRL_IO require HTTP client */
|
||||||
#define HAVE_HTTP_CLIENT
|
#if defined(HAVE_OCSP) || defined(HAVE_CRL_IO)
|
||||||
|
#ifndef HAVE_HTTP_CLIENT
|
||||||
|
#define HAVE_HTTP_CLIENT
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user