aboutsummaryrefslogtreecommitdiff
path: root/patches/ossl_typ.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/ossl_typ.h.patch')
-rw-r--r--patches/ossl_typ.h.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/ossl_typ.h.patch b/patches/ossl_typ.h.patch
deleted file mode 100644
index f213347..0000000
--- a/patches/ossl_typ.h.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1--- include/openssl/ossl_typ.h.orig 2015-07-06 13:21:18.788571423 -0700
2+++ include/openssl/ossl_typ.h 2015-07-06 13:24:14.906468003 -0700
3@@ -100,6 +100,22 @@
4 typedef struct ASN1_ITEM_st ASN1_ITEM;
5 typedef struct asn1_pctx_st ASN1_PCTX;
6
7+#if defined(_WIN32) && defined(__WINCRYPT_H__)
8+#ifndef LIBRESSL_INTERNAL
9+#ifdef _MSC_VER
10+#pragma message("Warning, overriding WinCrypt defines")
11+#else
12+#warning overriding WinCrypt defines
13+#endif
14+#endif
15+#undef X509_NAME
16+#undef X509_CERT_PAIR
17+#undef X509_EXTENSIONS
18+#undef OCSP_REQUEST
19+#undef OCSP_RESPONSE
20+#undef PKCS7_ISSUER_AND_SERIAL
21+#endif
22+
23 #ifdef BIGNUM
24 #undef BIGNUM
25 #endif