[issue29157] random.c: Prefer getrandom() over getentropy(), handle ENOSYS in py_getentropy()

Christian Heimes report at bugs.python.org
Thu Jan 5 06:19:44 EST 2017


Christian Heimes added the comment:

I'm doing a review now.

By the way I did not copy random.c for cryptography. I took bits and pieces out of it. https://github.com/pyca/cryptography/blob/master/src/_cffi_src/openssl/src/osrandom_engine.c and https://github.com/pyca/cryptography/blob/master/src/_cffi_src/openssl/src/osrandom_engine.h

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29157>
_______________________________________


More information about the Python-bugs-list mailing list