|
From 7eefc9c72f522e414f953fee2d6ca9242c566107 Mon Sep 17 00:00:00 2001
|
|
From: Rosen Penev <rosenp@gmail.com>
|
|
Date: Fri, 7 Jun 2019 18:18:46 -0700
|
|
Subject: [PATCH 1/7] Add new ASN1_STRING_get0_data API
|
|
|
|
Introduced with OpenSSL 1.1
|
|
---
|
|
src/_cffi_src/openssl/asn1.py | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/src/_cffi_src/openssl/asn1.py
|
|
+++ b/src/_cffi_src/openssl/asn1.py
|
|
@@ -105,4 +105,7 @@ ASN1_NULL *ASN1_NULL_new(void);
|
|
"""
|
|
|
|
CUSTOMIZATIONS = """
|
|
+#if (OPENSSL_API_COMPAT >= 0x10100000L) && !CRYPTOGRAPHY_IS_LIBRESSL
|
|
+#define ASN1_STRING_data ASN1_STRING_get0_data
|
|
+#endif
|
|
"""
|