diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-25 10:57:02 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-25 10:57:02 -0500 |
commit | 2bd476835c0597efb44d6d9c147017732fc90699 (patch) | |
tree | ad271a3fd5aea3ead01775c5c3a81e4eb8bf7d09 /src/_cffi_src | |
parent | b04385242e0c4d6aaef477b6130dad3fcea7632b (diff) | |
parent | d58b57991f73581da951c7c98b808dad7875f9b1 (diff) | |
download | cryptography-2bd476835c0597efb44d6d9c147017732fc90699.tar.gz cryptography-2bd476835c0597efb44d6d9c147017732fc90699.tar.bz2 cryptography-2bd476835c0597efb44d6d9c147017732fc90699.zip |
Merge pull request #2569 from reaperhulk/extension-builder
refactor x509 extension creation to make it a bit more reusable
Diffstat (limited to 'src/_cffi_src')
-rw-r--r-- | src/_cffi_src/openssl/x509.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py index a08ef179..b58a1a27 100644 --- a/src/_cffi_src/openssl/x509.py +++ b/src/_cffi_src/openssl/x509.py @@ -292,6 +292,7 @@ X509_EXTENSIONS *sk_X509_EXTENSION_new_null(void); int sk_X509_EXTENSION_num(X509_EXTENSIONS *); X509_EXTENSION *sk_X509_EXTENSION_value(X509_EXTENSIONS *, int); int sk_X509_EXTENSION_push(X509_EXTENSIONS *, X509_EXTENSION *); +int sk_X509_EXTENSION_insert(X509_EXTENSIONS *, X509_EXTENSION *, int); X509_EXTENSION *sk_X509_EXTENSION_delete(X509_EXTENSIONS *, int); void sk_X509_EXTENSION_free(X509_EXTENSIONS *); |