2015-07-06 22:42:54 +02:00
|
|
|
--- include/openssl/ossl_typ.h.orig 2015-07-06 13:21:18.788571423 -0700
|
|
|
|
+++ include/openssl/ossl_typ.h 2015-07-06 13:24:14.906468003 -0700
|
2014-07-11 05:06:10 +02:00
|
|
|
@@ -100,6 +100,22 @@
|
2015-07-06 22:42:54 +02:00
|
|
|
typedef struct ASN1_ITEM_st ASN1_ITEM;
|
|
|
|
typedef struct asn1_pctx_st ASN1_PCTX;
|
|
|
|
|
|
|
|
+#if defined(_WIN32) && defined(__WINCRYPT_H__)
|
2014-07-11 05:06:10 +02:00
|
|
|
+#ifndef LIBRESSL_INTERNAL
|
2015-07-06 22:42:54 +02:00
|
|
|
+#ifdef _MSC_VER
|
|
|
|
+#pragma message("Warning, overriding WinCrypt defines")
|
|
|
|
+#else
|
|
|
|
+#warning overriding WinCrypt defines
|
|
|
|
+#endif
|
2014-07-11 05:06:10 +02:00
|
|
|
+#endif
|
2015-07-06 22:42:54 +02:00
|
|
|
+#undef X509_NAME
|
|
|
|
+#undef X509_CERT_PAIR
|
|
|
|
+#undef X509_EXTENSIONS
|
|
|
|
+#undef OCSP_REQUEST
|
|
|
|
+#undef OCSP_RESPONSE
|
|
|
|
+#undef PKCS7_ISSUER_AND_SERIAL
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#ifdef BIGNUM
|
|
|
|
#undef BIGNUM
|
|
|
|
#endif
|