summaryrefslogtreecommitdiff
path: root/ssl/kssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/kssl.h')
-rw-r--r--ssl/kssl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ssl/kssl.h b/ssl/kssl.h
index 8242fd5eeb..e4df843073 100644
--- a/ssl/kssl.h
+++ b/ssl/kssl.h
@@ -70,6 +70,15 @@
#include <stdio.h>
#include <ctype.h>
#include <krb5.h>
+#ifdef OPENSSL_SYS_WIN32
+/* These can sometimes get redefined indirectly by krb5 header files
+ * after they get undefed in ossl_typ.h
+ */
+#undef X509_NAME
+#undef X509_EXTENSIONS
+#undef OCSP_REQUEST
+#undef OCSP_RESPONSE
+#endif
#ifdef __cplusplus
extern "C" {