From: Dr. Stephen Henson Date: Wed, 26 Feb 2014 15:28:20 +0000 (+0000) Subject: Fix for WIN32 builds with KRB5 X-Git-Tag: OpenSSL_1_0_1g~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32171e4e07e05a8309c93b6385f25c32e3a20d3b;p=openssl Fix for WIN32 builds with KRB5 (cherry picked from commit 3eddd1706a30cdf3dc9278692d8ee9038eac8a0d) --- 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" {