Try to fix issue from httplib

This commit is contained in:
PabloMK7 2023-10-03 23:10:20 +02:00
parent 3476fd4565
commit bf5c707a88

View file

@ -245,6 +245,12 @@ using socket_t = int;
#undef X509_EXTENSIONS #undef X509_EXTENSIONS
#undef PKCS7_SIGNER_INFO #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 #ifdef _MSC_VER
#pragma comment(lib, "crypt32.lib") #pragma comment(lib, "crypt32.lib")
#pragma comment(lib, "cryptui.lib") #pragma comment(lib, "cryptui.lib")