-
- Downloads
C locking callback (#3226)
* Remove Python OpenSSL locking callback and replace it with one in C The Python OpenSSL locking callback is unsafe; if GC is triggered during the callback's invocation, it can result in the callback being invoked reentrantly, which can lead to deadlocks. This patch replaces it with one in C that gets built at compile time via cffi along with the rest of the OpenSSL binding. * fixes for some issues * unused * revert these changes * these two for good measure * missing param * sigh, syntax * delete tests that assumed an ability to mess with locks * style fixes * licensing stuff * utf8 * Unicode. Huh. What it isn't good for, absolutely nothing.
Showing
- LICENSE 3 additions, 0 deletionsLICENSE
- LICENSE.PSF 41 additions, 0 deletionsLICENSE.PSF
- src/_cffi_src/openssl/callbacks.py 72 additions, 1 deletionsrc/_cffi_src/openssl/callbacks.py
- src/cryptography/hazmat/bindings/openssl/binding.py 2 additions, 29 deletionssrc/cryptography/hazmat/bindings/openssl/binding.py
- tests/hazmat/bindings/test_openssl.py 0 additions, 65 deletionstests/hazmat/bindings/test_openssl.py
LICENSE.PSF
0 → 100644
Please register or sign in to comment