From b22cca79bc12662a656e525759aef27da9dbcaa5 Mon Sep 17 00:00:00 2001 From: Jacky Hu Date: Tue, 3 Jan 2023 16:53:44 -0800 Subject: [PATCH] Fix wincrypt symbols conflict --- ssl.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ssl.c b/ssl.c index 7d7ff66ac..491ce5a56 100644 --- a/ssl.c +++ b/ssl.c @@ -40,6 +40,12 @@ #ifdef _WIN32 #include #include +#undef X509_NAME +#undef X509_EXTENSIONS +#undef PKCS7_ISSUER_AND_SERIAL +#undef PKCS7_SIGNER_INFO +#undef OCSP_REQUEST +#undef OCSP_RESPONSE #else #include #endif