diff options
author | Endre Szabo <github@urbnet.hu> | 2015-04-30 16:47:47 +0200 |
---|---|---|
committer | Endre Szabo <github@urbnet.hu> | 2015-04-30 16:47:47 +0200 |
commit | 6eaa0319e5db9e1645dca46b0d0169e58de88105 (patch) | |
tree | ebca639ba7520fd67d285ea806b42650a5d5c849 | |
parent | b3995a9a0708b49e0d29091420022ba5445f72c5 (diff) | |
download | cryptography-6eaa0319e5db9e1645dca46b0d0169e58de88105.tar.gz cryptography-6eaa0319e5db9e1645dca46b0d0169e58de88105.tar.bz2 cryptography-6eaa0319e5db9e1645dca46b0d0169e58de88105.zip |
Add del_extension needed by Zorp
Balabit Zorp application level firewall relies on the del_extension function to remove attributes like CRL pathes from the mimicked certificates when doing man-in-the-middle traffic filtering.
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/x509.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/x509.py b/src/cryptography/hazmat/bindings/openssl/x509.py index b5c9ee14..fd7a12a2 100644 --- a/src/cryptography/hazmat/bindings/openssl/x509.py +++ b/src/cryptography/hazmat/bindings/openssl/x509.py @@ -140,6 +140,7 @@ int X509_set_issuer_name(X509 *, X509_NAME *); int X509_get_ext_count(X509 *); int X509_add_ext(X509 *, X509_EXTENSION *, int); +X509_EXTENSION *X509_delete_ext(X509 *, int); X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *); X509_EXTENSION *X509_get_ext(X509 *, int); int X509_get_ext_by_NID(X509 *, int, int); |