Skip to content

Commit

Permalink
Stop undefining X509_CERT_PAIR
Browse files Browse the repository at this point in the history
Pointed out in libressl#910
  • Loading branch information
botovq committed Dec 19, 2023
1 parent 1862efa commit ee791f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions patches/windows_headers.patch
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <stdlib.h>
--- include/openssl/ossl_typ.h.orig Wed Nov 1 13:15:36 2023
+++ include/openssl/ossl_typ.h Wed Nov 1 13:18:23 2023
@@ -82,6 +82,22 @@ typedef struct asn1_object_st ASN1_OBJECT;
@@ -82,6 +82,21 @@ typedef struct asn1_object_st ASN1_OBJECT;
typedef struct ASN1_ITEM_st ASN1_ITEM;
typedef struct asn1_pctx_st ASN1_PCTX;

Expand All @@ -27,7 +27,6 @@
+#endif
+#endif
+#undef X509_NAME
+#undef X509_CERT_PAIR
+#undef X509_EXTENSIONS
+#undef OCSP_REQUEST
+#undef OCSP_RESPONSE
Expand Down Expand Up @@ -60,7 +59,7 @@
Digest_ID MD5
--- include/openssl/x509.h.orig Wed Nov 1 13:15:36 2023
+++ include/openssl/x509.h Wed Nov 1 13:18:44 2023
@@ -100,6 +100,19 @@
@@ -100,6 +100,18 @@
extern "C" {
#endif

Expand All @@ -73,7 +72,6 @@
+#endif
+#endif
+#undef X509_NAME
+#undef X509_CERT_PAIR
+#undef X509_EXTENSIONS
+#endif
+
Expand Down

0 comments on commit ee791f9

Please sign in to comment.