aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/asn1.py
diff options
context:
space:
mode:
authorJoshua Tauberer <jt@occams.info>2015-07-04 20:09:46 +0000
committerJoshua Tauberer <jt@occams.info>2015-07-06 23:01:22 +0000
commit2ee5e3c6240721120146d6d81c70e1b900029ee0 (patch)
tree1649fac07c5b6cd18a16ce86ca5f33a9cd27cf95 /src/_cffi_src/openssl/asn1.py
parent0784a23d4ab15e98214ccdf07021d42568404c1c (diff)
downloadcryptography-2ee5e3c6240721120146d6d81c70e1b900029ee0.tar.gz
cryptography-2ee5e3c6240721120146d6d81c70e1b900029ee0.tar.bz2
cryptography-2ee5e3c6240721120146d6d81c70e1b900029ee0.zip
parse SAN otherNames into OtherName instances rather than raising an exception
Test added.
Diffstat (limited to 'src/_cffi_src/openssl/asn1.py')
-rw-r--r--src/_cffi_src/openssl/asn1.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/asn1.py b/src/_cffi_src/openssl/asn1.py
index 5210c7c9..01d6f4c2 100644
--- a/src/_cffi_src/openssl/asn1.py
+++ b/src/_cffi_src/openssl/asn1.py
@@ -155,6 +155,8 @@ int ASN1_UTCTIME_check(ASN1_UTCTIME *);
/* Not a macro, const on openssl 1.0 */
int ASN1_STRING_set_default_mask_asc(char *);
+
+int i2d_ASN1_TYPE(ASN1_TYPE *, unsigned char **);
"""
CUSTOMIZATIONS = """