aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/crypto.py
Commit message (Collapse)AuthorAgeFilesLines
* remove unused locking functions (#4780)Paul Kehrer2019-02-261-24/+2
| | | | | | | | * remove unused locking functions we do all this in C when necessary * oops, need this
* Perform an OPENSSL_cleanup before checking the heap in our memleak tests (#4293)Alex Gaynor2018-06-201-1/+8
| | | | | | | | | | * Perform an OPENSSL_cleanup before checking the heap in our memleak tests * Make this binding conditional * typo * need to put this call before we reset the function ptrs
* Fixed build errors on HP-UX. (#4259)dumol2018-05-221-1/+1
| | | | | | | | | | * Fixed build errors on HP-UX. * PEP 8 style fix. * No return for void function. * PEP 8 style fix, take 2.
* Funcs macros gone (#3695)Paul Kehrer2017-06-271-3/+0
| | | | | | | | * No more FUNCS/MACROS distinction * change the docs to not talk about MACROS since they're gone * remove out of date comment
* Attempt to simplify the libressl checing (#3482)Alex Gaynor2017-03-261-2/+2
| | | | | | | | | | * Attempt to simplify the libressl checing * SHENANGINS * Attempted fix * More simplification
* Memleak tests (#3140)Alex Gaynor2017-03-141-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bind a pair of mem functions. * make these conditional * do the conditional correctly * move to the right section * I'm not saying libressl should be illegal, but it is annoying * sigh, typo * first cut at memleak tests. doesn't work * hack around the previous error, onto the next one * drop the pointless restoration of the original functions * Don't try to use the previous malloc functions. The default malloc is CRYPTO_malloc which calls the custom ptr you provided, so it just recurses forever. * flake8 * Get the code basically working * flake8 * say the correct incantation * Don't try to run on old OpenSSL * Flushing this is a good idea * Fixed a py2.7+ism * GRRRRR * WOrkaround for hilarity * Revert "WOrkaround for hilarity" This reverts commit 37b9f3b4ed4063eef5add3bb5d5dd592a007d439. * Swap out these functions for the originals * py3k fix * flake8 * nonsense for windows * py3k * seperate stdout and stderr because py26 has a warning on stderr * try writing this all out for windows * useful error messages * Debugging utility * Avoid this mess, don't dlopen anything * consistency * Throw away this FFI entirely * some useful comments
* Add OPENSSL_malloc. (#3289)Cory Benfield2016-11-281-0/+1
|
* be a bit more robust about detecting locking callback declarations (#3107)Paul Kehrer2016-08-261-3/+11
|
* remove a few more unneeded and no longer extant functions for 1.1.0 (#3110)Paul Kehrer2016-08-261-2/+0
|
* A few more 1.1.0 compatibility changes (#2960)Paul Kehrer2016-06-031-3/+0
| | | | | | * remove some bindings we don't use * thread state is not required
* CRYPTO_cleanup_all_ex_data is a macro and CRYPTO_add no longer exists (#2882)Paul Kehrer2016-04-301-4/+3
| | | We don't use CRYPTO_add and neither does pyOpenSSL
* slowly re-add everything that was removed, but now conditionalPaul Kehrer2016-03-171-0/+4
|
* sigh... and this onePaul Kehrer2016-03-171-0/+2
|
* need this one tooPaul Kehrer2016-03-171-0/+2
|
* we need CRYPTO_LOCK & CRYPTO_UNLOCK on < 1.1.0 so conditionally bind themPaul Kehrer2016-03-171-0/+11
|
* in 1.1.0 OpenSSL does its own locking now! locking funcs are now macrosPaul Kehrer2016-03-171-9/+6
| | | | | the macros are no ops. Also remove some constants that we never used and were related to locking
* OPENSSL_free is a macro in 1.1.0Paul Kehrer2016-03-171-1/+3
|
* remove long deprecated locking callback and CRYPTO_malloc_initPaul Kehrer2016-03-091-3/+0
|
* SSLeay begonePaul Kehrer2016-03-091-3/+35
| | | | | | | In OpenSSL 1.1.0 SSLeay is no longer a thing. Farewell Except not really farewell because we define them all again because old versions of pyOpenSSL will choke otherwise
* remove malloc_debug_init as it has occasionally caused compile issuesPaul Kehrer2015-11-051-1/+0
| | | | We also don't use it in our backend (and neither does pyOpenSSL)
* remove openssl CONDITIONAL_NAMESPaul Kehrer2015-08-031-2/+0
|
* convert to cffi 1.0 precompile systemPaul Kehrer2015-06-071-0/+58