diff options
Diffstat (limited to 'OpenSSL/SSL.py')
-rw-r--r-- | OpenSSL/SSL.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/SSL.py b/OpenSSL/SSL.py index 81ec2e2..f21ad9d 100644 --- a/OpenSSL/SSL.py +++ b/OpenSSL/SSL.py @@ -699,7 +699,7 @@ class Context(object): """ @wraps(callback) def wrapper(ssl, where, return_code): - callback(self, where, return_code) + callback(Connection._reverse_mapping[ssl], where, return_code) self._info_callback = _ffi.callback( "void (*)(const SSL *, int, int)", wrapper) _lib.SSL_CTX_set_info_callback(self._context, self._info_callback) |