From 1e95bc636ffd66451b6097b0a7f55c6a004563b7 Mon Sep 17 00:00:00 2001 From: "D.S. Ljungmark" Date: Sat, 31 May 2014 13:14:29 +0200 Subject: Add ASN1_STRING_set_default_mask_asc Required to prevent pyOpenSSL from writing deprecated T.61 strings --- cryptography/hazmat/bindings/openssl/asn1.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cryptography/hazmat/bindings/openssl/asn1.py b/cryptography/hazmat/bindings/openssl/asn1.py index dfdf1bf5..2edfd2d8 100644 --- a/cryptography/hazmat/bindings/openssl/asn1.py +++ b/cryptography/hazmat/bindings/openssl/asn1.py @@ -141,6 +141,9 @@ ASN1_INTEGER *BN_to_ASN1_INTEGER(BIGNUM *, ASN1_INTEGER *); /* These isn't a macro the arg is const on openssl 1.0.2+ */ int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *); + +/* Not a macro, const on openssl 1.0 */ +int ASN1_STRING_set_default_mask_asc(char *); """ CUSTOMIZATIONS = """ -- cgit v1.2.3