Skip to content

Commit

Permalink
add SSL_use_* OpenSSL bindings (#7210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils authored May 11, 2022
1 parent 075e3cf commit 67111ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Changelog
that the ``Extension`` ``critical`` field must be correctly encoded DER. See
`the issue <https://github.com/pyca/cryptography/issues/6368>`_ for complete
details.
* Added two new OpenSSL functions to the bindings to support an upcoming
``pyOpenSSL`` release.

.. _v37-0-2:

Expand Down
2 changes: 2 additions & 0 deletions src/_cffi_src/openssl/ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit 67111ba

Please sign in to comment.