aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-07-03 17:59:34 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-07-03 17:59:34 -0400
commit9d0a168271e2d35abaa93c3f4bed2a9bf36bff32 (patch)
tree043b4b752d4c5f55fc456a7bb4dabad1a47c43ad /src/_cffi_src
parent98ff37bde86be2098485b72f9e9231864969e8d8 (diff)
downloadcryptography-9d0a168271e2d35abaa93c3f4bed2a9bf36bff32.tar.gz
cryptography-9d0a168271e2d35abaa93c3f4bed2a9bf36bff32.tar.bz2
cryptography-9d0a168271e2d35abaa93c3f4bed2a9bf36bff32.zip
Added some nonsense around IA5STRING
Diffstat (limited to 'src/_cffi_src')
-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 *);