From 24f3d5b088ad657ebc47abb86e7a05ac5f0b1599 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 30 May 2017 09:11:10 -0400 Subject: Remove a binding that hasn't been used for a while (#3643) --- src/_cffi_src/openssl/asn1.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/_cffi_src') diff --git a/src/_cffi_src/openssl/asn1.py b/src/_cffi_src/openssl/asn1.py index fd8c5a4e..8644d059 100644 --- a/src/_cffi_src/openssl/asn1.py +++ b/src/_cffi_src/openssl/asn1.py @@ -125,7 +125,6 @@ int i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *, unsigned char **); int i2d_ASN1_INTEGER(ASN1_INTEGER *, unsigned char **); /* This is not a macro, but is const on some versions of OpenSSL */ int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *, int); -ASN1_TIME *M_ASN1_TIME_dup(void *); const ASN1_ITEM *ASN1_ITEM_ptr(ASN1_ITEM_EXP *); /* These aren't macros these arguments are all const X on openssl > 1.0.x */ @@ -159,10 +158,4 @@ ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **, const unsigned char **, long); """ CUSTOMIZATIONS = """ -/* This macro is removed in 1.1.0. We re-add it if required to support - pyOpenSSL versions older than whatever resolves - https://github.com/pyca/pyopenssl/issues/431 */ -#if !defined(M_ASN1_TIME_dup) -#define M_ASN1_TIME_dup(a) (ASN1_TIME *)ASN1_STRING_dup((const ASN1_STRING *)a) -#endif """ -- cgit v1.2.3