projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT3031: Need to #undef some names for win32
[openssl.git]
/
crypto
/
x509v3
/
x509v3.h
diff --git
a/crypto/x509v3/x509v3.h
b/crypto/x509v3/x509v3.h
index 4e5daa842cacf3661501463d7a75b134226e78ac..b8e1218ae20580b5a3c5b24794482ca077e43dd9 100644
(file)
--- a/
crypto/x509v3/x509v3.h
+++ b/
crypto/x509v3/x509v3.h
@@
-66,6
+66,13
@@
extern "C" {
#endif
+#ifdef OPENSSL_SYS_WIN32
+/* Under Win32 these are defined in wincrypt.h */
+#undef X509_NAME
+#undef X509_CERT_PAIR
+#undef X509_EXTENSIONS
+#endif
+
/* Forward reference */
struct v3_ext_method;
struct v3_ext_ctx;