2015-07-06 22:42:54 +02:00
|
|
|
--- include/openssl/x509.h.orig 2015-07-06 13:15:15.059306046 -0700
|
|
|
|
+++ include/openssl/x509.h 2015-07-06 13:16:10.506118278 -0700
|
2014-07-11 05:06:10 +02:00
|
|
|
@@ -112,6 +112,19 @@
|
2015-07-06 22:42:54 +02:00
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-07-11 05:06:10 +02:00
|
|
|
+#if defined(_WIN32)
|
|
|
|
+#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
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#define X509_FILETYPE_PEM 1
|
|
|
|
#define X509_FILETYPE_ASN1 2
|
|
|
|
#define X509_FILETYPE_DEFAULT 3
|