From 32171e4e07e05a8309c93b6385f25c32e3a20d3b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 26 Feb 2014 15:28:20 +0000 Subject: [PATCH] Fix for WIN32 builds with KRB5 (cherry picked from commit 3eddd1706a30cdf3dc9278692d8ee9038eac8a0d) --- ssl/kssl.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 #include #include +#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" { -- 2.40.0