diff options
author | Jacky Hu <hengqing.hu@gmail.com> | 2023-01-03 16:53:44 -0800 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2023-04-18 20:03:41 -0700 |
commit | d13c091e9f09fe4ad1858cd54ed3a842ac00b8e6 (patch) | |
tree | ed35eb70f8d916f2c0a48095b93ee1d00689c20a | |
parent | 5d84c8cfdb3f3709499970bc450f5308f0c832c1 (diff) |
Fix wincrypt symbols conflict
-rw-r--r-- | ssl.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |