diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-26 16:23:32 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-26 16:23:32 -0500 |
commit | 6cbdb348230d802b100981fbef0793cf65306797 (patch) | |
tree | 9f2ea7cdfe3ac02cf6291fd2845a78de7477221c /src/_cffi_src/openssl/asn1.py | |
parent | 945ee6e9cdd2d0a24381c6b79128cf47137c6b83 (diff) | |
parent | afdb8a589bd374da8e62e62070950dbaebdfe04e (diff) | |
download | cryptography-6cbdb348230d802b100981fbef0793cf65306797.tar.gz cryptography-6cbdb348230d802b100981fbef0793cf65306797.tar.bz2 cryptography-6cbdb348230d802b100981fbef0793cf65306797.zip |
Merge pull request #2584 from reaperhulk/asn1-bindings
new asn1 bindings needed for #2582
Diffstat (limited to 'src/_cffi_src/openssl/asn1.py')
-rw-r--r-- | src/_cffi_src/openssl/asn1.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/asn1.py b/src/_cffi_src/openssl/asn1.py index ddf4b9c5..30bd2451 100644 --- a/src/_cffi_src/openssl/asn1.py +++ b/src/_cffi_src/openssl/asn1.py @@ -95,13 +95,16 @@ ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *, time_t); /* ASN1 GENERALIZEDTIME */ int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *, const char *); +ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *, time_t); void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *); +int i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *, unsigned char **); /* ASN1 ENUMERATED */ ASN1_ENUMERATED *ASN1_ENUMERATED_new(void); void ASN1_ENUMERATED_free(ASN1_ENUMERATED *); int ASN1_ENUMERATED_set(ASN1_ENUMERATED *, long); long ASN1_ENUMERATED_get(ASN1_ENUMERATED *); +int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *, unsigned char **); ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **, const unsigned char **, long, const ASN1_ITEM *); |