diff options
author | D.S. Ljungmark <spider@aanstoot.se> | 2014-05-31 13:14:29 +0200 |
---|---|---|
committer | D.S. Ljungmark <spider@aanstoot.se> | 2014-05-31 17:33:15 +0200 |
commit | 1e95bc636ffd66451b6097b0a7f55c6a004563b7 (patch) | |
tree | 759b4ad6033ce352dad716cdf0b6159a17b09d5f | |
parent | 4bef120510ee62ca229d7195e0c89c07286b9167 (diff) | |
download | cryptography-1e95bc636ffd66451b6097b0a7f55c6a004563b7.tar.gz cryptography-1e95bc636ffd66451b6097b0a7f55c6a004563b7.tar.bz2 cryptography-1e95bc636ffd66451b6097b0a7f55c6a004563b7.zip |
Add ASN1_STRING_set_default_mask_asc
Required to prevent pyOpenSSL from writing deprecated T.61 strings
-rw-r--r-- | cryptography/hazmat/bindings/openssl/asn1.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 = """ |