projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Include wincrypt.h when compiling with OpenSSL on Windows
[privoxy.git]
/
project.h
diff --git
a/project.h
b/project.h
index
a9fe894
..
7918780
100644
(file)
--- a/
project.h
+++ b/
project.h
@@
-75,6
+75,11
@@
#endif /* FEATURE_HTTPS_INSPECTION_MBEDTLS */
#ifdef FEATURE_HTTPS_INSPECTION_OPENSSL
+#ifdef _WIN32
+#include <wincrypt.h>
+#undef X509_NAME
+#undef X509_EXTENSIONS
+#endif
#include <openssl/ssl.h>
#include <openssl/bio.h>
#include <openssl/err.h>