summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3
diff options
context:
space:
mode:
authorRobin Lee <robinlee.sysu@gmail.com>2014-09-04 12:36:41 -0400
committerRich Salz <rsalz@openssl.org>2014-09-08 11:05:48 -0400
commit83e4e03eeb22d2fbaec516a466330f2ccab22864 (patch)
tree88def4949d7771c8d82b5127e85d6d8dae23a891 /crypto/x509v3
parent3173622ef6e8a596bf031e9b8a1eae4cd072ce03 (diff)
RT3031: Need to #undef some names for win32
Copy the ifdef/undef stanza from x509.h to x509v3.h Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/x509v3')
-rw-r--r--crypto/x509v3/x509v3.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h
index 4e5daa842c..b8e1218ae2 100644
--- 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;