aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/x509_vfy.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2015-11-20 18:34:00 +0100
committerChristian Heimes <christian@python.org>2015-11-20 18:38:09 +0100
commit62fad4c7830555b9cc693b139fbd09a0a46ec291 (patch)
treed440a2fd66d06c373bc5da4a9b314d26227a5002 /src/_cffi_src/openssl/x509_vfy.py
parentcc1962d9ece2496548032074499e2aed475b5271 (diff)
downloadcryptography-62fad4c7830555b9cc693b139fbd09a0a46ec291.tar.gz
cryptography-62fad4c7830555b9cc693b139fbd09a0a46ec291.tar.bz2
cryptography-62fad4c7830555b9cc693b139fbd09a0a46ec291.zip
Add more CRYPTO_EX_DATA functions
The patch adds a couple of additional functions to create, store and retrieve ex_data on SSL, SSL_CTX and X509 objects. It also adds the missing get_ex_new_index function for X509_STORE_CTX. Signed-off-by: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'src/_cffi_src/openssl/x509_vfy.py')
-rw-r--r--src/_cffi_src/openssl/x509_vfy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509_vfy.py b/src/_cffi_src/openssl/x509_vfy.py
index abc4c435..f8467a76 100644
--- a/src/_cffi_src/openssl/x509_vfy.py
+++ b/src/_cffi_src/openssl/x509_vfy.py
@@ -173,6 +173,8 @@ int X509_STORE_CTX_get_error(X509_STORE_CTX *);
void X509_STORE_CTX_set_error(X509_STORE_CTX *, int);
int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *);
X509 *X509_STORE_CTX_get_current_cert(X509_STORE_CTX *);
+int X509_STORE_CTX_get_ex_new_index(long, void *, CRYPTO_EX_new *,
+ CRYPTO_EX_dup *, CRYPTO_EX_free *);
int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *, int, void *);
void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *, int);