aboutsummaryrefslogtreecommitdiff
path: root/patches/x509.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/x509.h.patch')
-rw-r--r--patches/x509.h.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/patches/x509.h.patch b/patches/x509.h.patch
deleted file mode 100644
index f0e59b2..0000000
--- a/patches/x509.h.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1--- include/openssl/x509.h.orig 2015-07-06 13:15:15.059306046 -0700
2+++ include/openssl/x509.h 2015-07-06 13:16:10.506118278 -0700
3@@ -112,6 +112,19 @@
4 extern "C" {
5 #endif
6
7+#if defined(_WIN32)
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+#endif
19+
20 #define X509_FILETYPE_PEM 1
21 #define X509_FILETYPE_ASN1 2
22 #define X509_FILETYPE_DEFAULT 3