diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-03-23 11:15:08 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-03-23 11:15:08 -0400 |
commit | 6cf66d69ef8fddf22eceb6801b7dafa865595d20 (patch) | |
tree | 938e35e511d903e9201459311372988e7e286698 /src/_cffi_src | |
parent | 4a772a823d8b25712f91d0a0226f5b40ae269d2a (diff) | |
download | cryptography-6cf66d69ef8fddf22eceb6801b7dafa865595d20.tar.gz cryptography-6cf66d69ef8fddf22eceb6801b7dafa865595d20.tar.bz2 cryptography-6cf66d69ef8fddf22eceb6801b7dafa865595d20.zip |
Two additional bindings for CT (#3478)
* Two additional bindings for CT
* Grumble
Diffstat (limited to 'src/_cffi_src')
-rw-r--r-- | src/_cffi_src/openssl/ct.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/ct.py b/src/_cffi_src/openssl/ct.py index eec6e1d7..1ea31386 100644 --- a/src/_cffi_src/openssl/ct.py +++ b/src/_cffi_src/openssl/ct.py @@ -41,6 +41,9 @@ ct_log_entry_type_t SCT_get_log_entry_type(const SCT *); size_t SCT_get0_log_id(const SCT *, unsigned char **); uint64_t SCT_get_timestamp(const SCT *); + +int sk_SCT_num(const Cryptography_STACK_OF_SCT *); +SCT *sk_SCT_value(const Cryptography_STACK_OF_SCT *, int); """ CUSTOMIZATIONS = """ @@ -59,10 +62,14 @@ typedef enum { CT_LOG_ENTRY_TYPE_PRECERT } ct_log_entry_type_t; typedef void SCT; +typedef void Cryptography_STACK_OF_SCT; sct_version_t (*SCT_get_version)(const SCT *) = NULL; ct_log_entry_type_t (*SCT_get_log_entry_type)(const SCT *) = NULL; size_t (*SCT_get0_log_id)(const SCT *, unsigned char **) = NULL; uint64_t (*SCT_get_timestamp)(const SCT *) = NULL; + +int (*sk_SCT_num)(const Cryptography_STACK_OF_SCT *) = NULL; +SCT *(*sk_SCT_value)(const Cryptography_STACK_OF_SCT *, int) = NULL; #endif """ |