Fix for WIN32 builds with KRB5

(cherry picked from commit 3eddd1706a30cdf3dc9278692d8ee9038eac8a0d)
This commit is contained in:
Dr. Stephen Henson 2014-02-26 15:28:20 +00:00
parent ffa0e16198
commit e67c71c8fd

View File

@ -70,6 +70,15 @@
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <krb5.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 #ifdef __cplusplus
extern "C" { extern "C" {