diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-06-27 19:55:01 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-06-27 20:55:01 -0400 |
commit | 4bdb7758749e12dcd741ffd20b9c55a8dae4a784 (patch) | |
tree | 69d44e6a26d5961efff152587e4b4590246e1268 /src/_cffi_src | |
parent | ca9b989ef5e27e88776cb6f3464e2f54ccd834c5 (diff) | |
download | cryptography-4bdb7758749e12dcd741ffd20b9c55a8dae4a784.tar.gz cryptography-4bdb7758749e12dcd741ffd20b9c55a8dae4a784.tar.bz2 cryptography-4bdb7758749e12dcd741ffd20b9c55a8dae4a784.zip |
opaque x509 store context (#3019)
Diffstat (limited to 'src/_cffi_src')
-rw-r--r-- | src/_cffi_src/openssl/x509_vfy.py | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/_cffi_src/openssl/x509_vfy.py b/src/_cffi_src/openssl/x509_vfy.py index 5dcc04a5..4e389b36 100644 --- a/src/_cffi_src/openssl/x509_vfy.py +++ b/src/_cffi_src/openssl/x509_vfy.py @@ -27,21 +27,7 @@ typedef ... Cryptography_STACK_OF_ASN1_OBJECT; typedef ... X509_STORE; typedef ... X509_VERIFY_PARAM; - -typedef struct x509_store_ctx_st X509_STORE_CTX; -struct x509_store_ctx_st { - X509_STORE *ctx; - int current_method; - X509 *cert; - Cryptography_STACK_OF_X509 *untrusted; - Cryptography_STACK_OF_X509_CRL *crls; - X509_VERIFY_PARAM *param; - void *other_ctx; - int (*verify)(X509_STORE_CTX *); - int (*verify_cb)(int, X509_STORE_CTX *); - int (*get_issuer)(X509 **, X509_STORE_CTX *, X509 *); - ...; -}; +typedef ... X509_STORE_CTX; /* While these are defined in the source as ints, they're tagged here as longs, just in case they ever grow to large, such as what we saw |