From bf5c707a88c2d068e6774311aab8836f776e5906 Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Tue, 3 Oct 2023 23:10:20 +0200 Subject: [PATCH] Try to fix issue from httplib --- externals/httplib/httplib.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/externals/httplib/httplib.h b/externals/httplib/httplib.h index 89449452aa..c49e50e695 100644 --- a/externals/httplib/httplib.h +++ b/externals/httplib/httplib.h @@ -245,6 +245,12 @@ using socket_t = int; #undef X509_EXTENSIONS #undef PKCS7_SIGNER_INFO +// libressl will warn without this, which becomes an error. +#undef OCSP_REQUEST +#undef OCSP_RESPONSE +#undef PKCS7_ISSUER_AND_SERIAL +#undef __WINCRYPT_H__ + #ifdef _MSC_VER #pragma comment(lib, "crypt32.lib") #pragma comment(lib, "cryptui.lib")