$OpenBSD: patch-src__cffi_src_openssl_x509_py,v 1.5 2021/10/31 17:26:24 tb Exp $

Index: src/_cffi_src/openssl/x509.py
--- src/_cffi_src/openssl/x509.py.orig
+++ src/_cffi_src/openssl/x509.py
@@ -276,7 +276,7 @@ void X509_REQ_get0_signature(const X509_REQ *, const A
 """
 
 CUSTOMIZATIONS = """
-#if CRYPTOGRAPHY_IS_LIBRESSL
+#if 0
 int i2d_re_X509_tbs(X509 *x, unsigned char **pp)
 {
     /* in 1.0.2+ this function also sets x->cert_info->enc.modified = 1
@@ -294,7 +294,7 @@ X509_REVOKED *Cryptography_X509_REVOKED_dup(X509_REVOK
 }
 /* Added in 1.1.0 but we need it in all versions now due to the great
    opaquing. */
-#if CRYPTOGRAPHY_IS_LIBRESSL
+#if 0
 int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp)
 {
     req->req_info->enc.modified = 1;
