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_0m~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e67c71c8fd0567d2fb7fda10a678a28ee6d6c9b2;p=oweals%2Fopenssl.git Fix for WIN32 builds with KRB5 (cherry picked from commit 3eddd1706a30cdf3dc9278692d8ee9038eac8a0d) --- diff --git a/ssl/kssl.h b/ssl/kssl.h index a3d20e1ccb..600b259a31 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" {