lib/extensions/openssl.so/ext/win32/include/openssl/kssl.h in rhodes-3.5.1.12 vs lib/extensions/openssl.so/ext/win32/include/openssl/kssl.h in rhodes-5.5.0
- old
+ new
@@ -68,9 +68,18 @@
#ifndef OPENSSL_NO_KRB5
#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" {
#endif