diff options
| author | Nuno Veloso <nveloso21@gmail.com> | 2022-12-22 23:48:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-22 23:48:39 +0000 |
| commit | 011209feb8604967daef718aac0c53433306967c (patch) | |
| tree | 26bcd27dcbf809e4778742108b7d2d9d315c28bb /src/_cffi_src | |
| parent | 0ee233c0ef2501d8f608727f2ae3337412328259 (diff) | |
| download | cryptography-011209feb8604967daef718aac0c53433306967c.tar.gz | |
Add SSL_CTX_set_msg_callback functions (#7926)
* Add SSL_CTX_set_msg_callback functions to openssl/ssl.py function definitions
* Fix E501 Line too long
Co-authored-by: Nuno Veloso <nuno.veloso@bitsighttech.com>
Diffstat (limited to 'src/_cffi_src')
| -rw-r--r-- | src/_cffi_src/openssl/ssl.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index 0a6a124e1..a9be15341 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -296,6 +296,18 @@ void SSL_CTX_set_client_CA_list(SSL_CTX *, Cryptography_STACK_OF_X509_NAME *); void SSL_CTX_set_info_callback(SSL_CTX *, void (*)(const SSL *, int, int)); void (*SSL_CTX_get_info_callback(SSL_CTX *))(const SSL *, int, int); +void SSL_CTX_set_msg_callback(SSL_CTX *, + void (*)( + int, + int, + int, + const void *, + size_t, + SSL *, + void * + )); +void SSL_CTX_set_msg_callback_arg(SSL_CTX *, void *); + void SSL_CTX_set_keylog_callback(SSL_CTX *, void (*)(const SSL *, const char *)); void (*SSL_CTX_get_keylog_callback(SSL_CTX *))(const SSL *, const char *); |
