diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 19a4556ce66e..c2ba827f7631 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -23,6 +23,8 @@ Changelog that the ``Extension`` ``critical`` field must be correctly encoded DER. See `the issue `_ for complete details. +* Added two new OpenSSL functions to the bindings to support an upcoming + ``pyOpenSSL`` release. .. _v37-0-2: diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index d036e4f2d14a..2d6c7c81cadc 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -200,6 +200,8 @@ int SSL_renegotiate(SSL *); int SSL_renegotiate_pending(SSL *); const char *SSL_get_cipher_list(const SSL *, int); +int SSL_use_certificate(SSL *, X509 *); +int SSL_use_PrivateKey(SSL *, EVP_PKEY *); /* context */ void SSL_CTX_free(SSL_CTX *);