Stop undefining X509_CERT_PAIR

Pointed out in #910
This commit is contained in:
Theo Buehler
2023-12-19 20:12:20 +01:00
parent 1862efa835
commit ee791f9d2a

View File

@@ -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;
@@ -27,7 +27,6 @@
+#endif
+#endif
+#undef X509_NAME
+#undef X509_CERT_PAIR
+#undef X509_EXTENSIONS
+#undef OCSP_REQUEST
+#undef OCSP_RESPONSE
@@ -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
@@ -73,7 +72,6 @@
+#endif
+#endif
+#undef X509_NAME
+#undef X509_CERT_PAIR
+#undef X509_EXTENSIONS
+#endif
+