aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/bindings
Commit message (Collapse)AuthorAgeFilesLines
* make engine addition idempotentPaul Kehrer2015-10-211-2/+2
| | | | | | | | | | | Threading issues keep cropping up. ENGINE_add already acquires a lock at the C layer via CRYPTO_w_lock (provided you have registered the locking callbacks) so let's try to use that. As part of this we'll try to init the openssl locks, but of course there's potentially a race there as well. Clearly this isn't the real fix but it might improve the situation while we try to determine what to do.
* Merge pull request #2180 from reaperhulk/easy-conditional-fixDonald Stufft2015-08-041-0/+18
|\ | | | | create a ConditionalLibrary and remove unsupported items
| * add test for conditional removalPaul Kehrer2015-08-011-0/+18
| |
* | move urandom engine testPaul Kehrer2015-08-011-30/+0
|/ | | | | | | | | | This test was in the bindings dir, which is incorrect. We do not set the urandom engine to default unless the openssl backend is loaded. The reason the test wasn't failing (even in the random test case) is that the backends are loaded during pytest_generate_tests by a call to _available_backends. So no matter what order it occurred in the engine was already set to default. I discovered this when I tried to run the test_openssl.py bindings tests directly via pytest. Hooray global state.
* test libressl when there is no libresslGlyph2015-06-301-2/+15
|
* pep8Glyph2015-06-301-0/+1
|
* Detect and ignore LibreSSL.Glyph2015-06-301-1/+3
|
* the output of RAND_bytes is os.urandom's resultGlyph2015-06-291-0/+14
|
* handle previous registration by raising RuntimeErrorGlyph2015-06-271-2/+2
|
* remove remaining vestiges, make adding twice workGlyph2015-06-261-1/+1
|
* convert to cffi 1.0 precompile systemPaul Kehrer2015-06-073-56/+8
|
* use setenv so we don't have to import osPaul Kehrer2015-01-141-3/+1
|
* monkeypatch PYCA_WINDOWS_LINK_TYPE in the tests to fix #1624Paul Kehrer2015-01-141-1/+4
|
* Update the license header for every source file, as well as the documentation.Alex Gaynor2014-11-163-36/+9
| | | | Fixes #1209
* Monkeypatch the CFFI Verifier to prevent the implicit compileDonald Stufft2014-11-141-0/+14
|
* We can test this, we have the power! Fixes #874Alex Gaynor2014-11-071-1/+5
|
* Update test for new APIAlex Gaynor2014-10-241-3/+3
|
* test_ssl_mode should get current mode as wellPaul Kehrer2014-09-261-2/+4
|
* In tests for setting SSL and SSL_CTX options, get current options firstPaul Kehrer2014-09-261-4/+8
| | | | Fixes #1352
* Fix test failuresTerry Chia2014-07-282-4/+3
|
* change env variable name, handle empty stringPaul Kehrer2014-07-051-0/+2
|
* improve unit tests for _get_windows_librariesPaul Kehrer2014-07-031-2/+2
|
* switch to env variable based static/dynamic switch for windowsPaul Kehrer2014-07-021-1/+11
|
* Fix some typos.Alex Gaynor2014-04-251-1/+1
| | | | Found with https://github.com/intgr/topy/
* move some commentsPaul Kehrer2014-04-201-3/+3
|
* fix SSL_OP_ALL being unusable on Windows due to long being 32-bit signedPaul Kehrer2014-04-201-0/+34
|
* should probably update the test tooPaul Kehrer2014-03-171-7/+5
|
* be less dumbPaul Kehrer2014-03-131-4/+3
|
* make create_modulename private, add testPaul Kehrer2014-03-131-0/+28
|
* Added future imports and licenses that are missingAlex Gaynor2014-03-082-0/+4
|
* test to confirm calling Cryptography_add_osrandom_engine > 1 is safePaul Kehrer2014-02-201-0/+5
|
* Remove the contenious test of contentionAlex Stapleton2014-01-241-46/+0
|
* Split a test in halfAlex Stapleton2014-01-241-6/+18
|
* Also test the locking cb directlyAlex Stapleton2014-01-241-19/+20
|
* Python implementation of OpenSSL locking callbackAlex Stapleton2014-01-241-0/+106
|
* add is_available() to CommonCrypto binding, use it for skipifPaul Kehrer2014-01-091-3/+4
|
* cover a missing branch in the commoncrypto bindingsPaul Kehrer2014-01-091-2/+8
|
* Add initial CommonCrypto bindings (no backend yet)Paul Kehrer2014-01-091-0/+25
|
* Fixed #408 -- cleanup how is_available worksAlex Gaynor2014-01-071-32/+0
|
* missing #Paul Kehrer2014-01-041-1/+1
|
* make the dummy_initializer fail with an actual verify callPaul Kehrer2014-01-041-1/+2
|
* add commoncrypto mark to skip on non-OS X platformsPaul Kehrer2014-01-042-0/+34
|
* Split OpenSSL bindingAlex Stapleton2014-01-011-0/+22
|
* Also rename teh testsAlex Gaynor2013-12-132-97/+0
|
* Renamed bindings to backendsAlex Gaynor2013-12-131-2/+2
|
* Merge pull request #227 from dreid/explicit-backend-in-hazmatAlex Gaynor2013-11-261-0/+4
|\ | | | | Explicit backend
| * Test that openssl is the default backend.David Reid2013-11-201-0/+4
| |
* | Fixed branch coverageAlex Gaynor2013-11-231-0/+17
| |
* | CoverageAlex Gaynor2013-11-221-0/+4
|/
* Move interfaces.register to utils.register_interface in preparation for more ↵David Reid2013-11-181-1/+2
| | | | interface modules.