summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2020-11-27 19:29:49 +0100
committerGitHub <noreply@github.com>2020-11-27 12:29:49 -0600
commit3562df8732f66848342874526d0ce12392d7d62e (patch)
tree8ff18795804fd4a6fe4675d9dfacdd4bb6444d8b /setup.py
parentf3667e95188e8c14458a7943c7efab3776b04711 (diff)
downloadpyopenssl-3562df8732f66848342874526d0ce12392d7d62e.tar.gz
Keep reference to SSL verify_call in Connection object (#956)
* Keep reference to SSL verify_call in Connection object If a set_verify is used on a context before and after a Connection the reference in the SSL* object still points to the old _verify_helper object. Since this object has no longer any references to it, the callback can result in a segfault. This commit fixes the issues by ensuring that as long as the Connection object/SSL* object lives a reference to the callback function is held. * Add Unit test for set_verify_callback deference
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions