summaryrefslogtreecommitdiff
path: root/src/_cffi_src
diff options
context:
space:
mode:
authorNuno Veloso <nveloso21@gmail.com>2022-12-22 23:48:39 +0000
committerGitHub <noreply@github.com>2022-12-22 23:48:39 +0000
commit011209feb8604967daef718aac0c53433306967c (patch)
tree26bcd27dcbf809e4778742108b7d2d9d315c28bb /src/_cffi_src
parent0ee233c0ef2501d8f608727f2ae3337412328259 (diff)
downloadcryptography-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.py12
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 *);