aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/asn1.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-06-28 10:14:55 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-06-28 10:14:55 -0400
commitd3e84164d9932782beebfb997615bca6f6d30a8b (patch)
tree7c89e2894951d76e4e61a09df0948085729749ef /src/_cffi_src/openssl/asn1.py
parent5432f818890a67a8c6c53ebdea47fd9dd7ec1ae9 (diff)
downloadcryptography-d3e84164d9932782beebfb997615bca6f6d30a8b.tar.gz
cryptography-d3e84164d9932782beebfb997615bca6f6d30a8b.tar.bz2
cryptography-d3e84164d9932782beebfb997615bca6f6d30a8b.zip
Initial code to encode SANs
Diffstat (limited to 'src/_cffi_src/openssl/asn1.py')
-rw-r--r--src/_cffi_src/openssl/asn1.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/asn1.py b/src/_cffi_src/openssl/asn1.py
index c18708c5..5210c7c9 100644
--- a/src/_cffi_src/openssl/asn1.py
+++ b/src/_cffi_src/openssl/asn1.py
@@ -42,7 +42,7 @@ typedef struct asn1_string_st ASN1_OCTET_STRING;
typedef struct asn1_string_st ASN1_IA5STRING;
typedef ... ASN1_BIT_STRING;
typedef ... ASN1_OBJECT;
-typedef ... ASN1_STRING;
+typedef struct asn1_string_st ASN1_STRING;
typedef ... ASN1_TYPE;
typedef ... ASN1_GENERALIZEDTIME;
typedef ... ASN1_ENUMERATED;
@@ -87,6 +87,9 @@ ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void);
void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *);
int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *, const unsigned char *, int);
+/* ASN1 IA5STRING */
+ASN1_IA5STRING *ASN1_IA5STRING_new(void);
+
/* ASN1 INTEGER */
ASN1_INTEGER *ASN1_INTEGER_new(void);
void ASN1_INTEGER_free(ASN1_INTEGER *);