summaryrefslogtreecommitdiff
path: root/src/OpenSSL/rand.py
Commit message (Collapse)AuthorAgeFilesLines
* Add inline type annotations (#1089)lovetox2022-05-201-2/+2
| | | | | | | | | | | | | | | | | * crypto: Add type annotations * Don’t redefine var mypy complains about the redefinition * _util: Add type annotations * rand: Add type annotations * Prepare package & CI for running mypy * fix toxenv name Co-authored-by: Maximilian Hils <github@maximilianhils.com>
* restore a subset of the rand module (#708)Paul Kehrer2017-11-201-0/+40
| | | | | | | | | | * restore a subset of the rand module * flake * remove cleanup, go ahead and assume status will always be 1 * lighten and add power
* Delete rand.py (#675)Alex Gaynor2017-07-251-169/+0
|
* Fixed #631 -- deprecate all of OpenSSL.rand (#658)Alex Gaynor2017-07-061-0/+7
| | | | | | | | * Fixed #631 -- deprecate all of OpenSSL.rand * syntax fix * flake8
* Drop some dead code, cryptography has _never_ bound RAND_screen (#641)Alex Gaynor2017-06-251-16/+0
|
* Drop the deprecated rand.egd function (#630)Alex Gaynor2017-05-311-35/+0
| | | | | | | | | | | | | | * Drop the deprecated rand.egd function * Removed egd tests * Removed egd docs * Document the removal * unused imports * Update CHANGELOG.rst
* Convert X509ExtTests to use pytest-style tests (#564)Alex Chan2016-11-181-0/+2
|
* Convert test_rand to use pytest-style tests (#563)Alex Chan2016-10-241-1/+1
| | | | | | | | | | Fix up the assert helpers, subclass form `object` rather than test case, and use parametrization where appropriate. One helper method on the original `TestCase` was the ability to create temporary directories that were cleaned up at the end of the test -- now we use a pytest fixture instead: http://doc.pytest.org/en/latest/tmpdir.html Addresses #340.
* fix cffi warnings for proper buffer types (#545)Paul Kehrer2016-09-201-1/+1
|
* 2016 snook up on usHynek Schlawack2016-01-191-2/+2
|
* Replace the only EGD call by urandomHynek Schlawack2015-10-201-30/+67
| | | | Also harmonize documentation. #boyScout
* Move package into srcHynek Schlawack2015-10-171-0/+174
Prevents accidental imports when running tests.