Skip to content

Commit

Permalink
Fix wincrypt symbols conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
postgraph authored and Jacky Hu committed Jan 4, 2023
1 parent acd0946 commit 26273b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26273b3

Please sign in to comment.