diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-11-20 14:45:33 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-11-20 14:45:33 -0600 |
commit | 7f7fab8f2bb48056149e2717f440b13c3ce5fcf8 (patch) | |
tree | d440a2fd66d06c373bc5da4a9b314d26227a5002 /src/_cffi_src/openssl/x509.py | |
parent | cc1962d9ece2496548032074499e2aed475b5271 (diff) | |
parent | 62fad4c7830555b9cc693b139fbd09a0a46ec291 (diff) | |
download | cryptography-7f7fab8f2bb48056149e2717f440b13c3ce5fcf8.tar.gz cryptography-7f7fab8f2bb48056149e2717f440b13c3ce5fcf8.tar.bz2 cryptography-7f7fab8f2bb48056149e2717f440b13c3ce5fcf8.zip |
Merge pull request #2490 from tiran/more_ex_data
Add more CRYPTO_EX_DATA functions
Diffstat (limited to 'src/_cffi_src/openssl/x509.py')
-rw-r--r-- | src/_cffi_src/openssl/x509.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py index ebb78a31..b5d461ab 100644 --- a/src/_cffi_src/openssl/x509.py +++ b/src/_cffi_src/openssl/x509.py @@ -149,6 +149,12 @@ X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *); X509_EXTENSION *X509_get_ext(X509 *, int); int X509_get_ext_by_NID(X509 *, int, int); +/* CRYPTO_EX_DATA */ +int X509_get_ex_new_index(long, void *, CRYPTO_EX_new *, CRYPTO_EX_dup *, + CRYPTO_EX_free *); +int X509_set_ex_data(X509 *, int, void *); +void *X509_get_ex_data(X509 *, int); + int X509_EXTENSION_get_critical(X509_EXTENSION *); ASN1_OBJECT *X509_EXTENSION_get_object(X509_EXTENSION *); void X509_EXTENSION_free(X509_EXTENSION *); |