summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl.c b/ssl.c
index 816a179..88bd9f3 100644
--- a/ssl.c
+++ b/ssl.c
@@ -40,6 +40,14 @@
#ifdef _WIN32
#include <windows.h>
#include <wincrypt.h>
+#ifdef OPENSSL_IS_BORINGSSL
+#undef X509_NAME
+#undef X509_EXTENSIONS
+#undef PKCS7_ISSUER_AND_SERIAL
+#undef PKCS7_SIGNER_INFO
+#undef OCSP_REQUEST
+#undef OCSP_RESPONSE
+#endif
#else
#include <pthread.h>
#endif