diff options
Diffstat (limited to 'patches/x509.h.patch')
-rw-r--r-- | patches/x509.h.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/x509.h.patch b/patches/x509.h.patch index 13686c1..f0e59b2 100644 --- a/patches/x509.h.patch +++ b/patches/x509.h.patch | |||
@@ -1,15 +1,17 @@ | |||
1 | --- include/openssl/x509.h.orig 2015-07-06 13:15:15.059306046 -0700 | 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 | 2 | +++ include/openssl/x509.h 2015-07-06 13:16:10.506118278 -0700 |
3 | @@ -112,6 +112,17 @@ | 3 | @@ -112,6 +112,19 @@ |
4 | extern "C" { | 4 | extern "C" { |
5 | #endif | 5 | #endif |
6 | 6 | ||
7 | +#if defined(_WIN32) && defined(__WINCRYPT_H__) | 7 | +#if defined(_WIN32) |
8 | +#ifndef LIBRESSL_INTERNAL | ||
8 | +#ifdef _MSC_VER | 9 | +#ifdef _MSC_VER |
9 | +#pragma message("Warning, overriding WinCrypt defines") | 10 | +#pragma message("Warning, overriding WinCrypt defines") |
10 | +#else | 11 | +#else |
11 | +#warning overriding WinCrypt defines | 12 | +#warning overriding WinCrypt defines |
12 | +#endif | 13 | +#endif |
14 | +#endif | ||
13 | +#undef X509_NAME | 15 | +#undef X509_NAME |
14 | +#undef X509_CERT_PAIR | 16 | +#undef X509_CERT_PAIR |
15 | +#undef X509_EXTENSIONS | 17 | +#undef X509_EXTENSIONS |