diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-05-30 09:11:10 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-05-30 08:11:10 -0500 |
commit | 24f3d5b088ad657ebc47abb86e7a05ac5f0b1599 (patch) | |
tree | 98d4f5a9c8ac873cef150c95802334a6b3534f1e /src | |
parent | ece3af1aa544d931e21a56304904c2029fc4e016 (diff) | |
download | cryptography-24f3d5b088ad657ebc47abb86e7a05ac5f0b1599.tar.gz cryptography-24f3d5b088ad657ebc47abb86e7a05ac5f0b1599.tar.bz2 cryptography-24f3d5b088ad657ebc47abb86e7a05ac5f0b1599.zip |
Remove a binding that hasn't been used for a while (#3643)
Diffstat (limited to 'src')
-rw-r--r-- | src/_cffi_src/openssl/asn1.py | 7 |
1 files changed, 0 insertions, 7 deletions
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 """ |