[issue21356] Support LibreSSL (instead of OpenSSL): make RAND_egd optional

Michał Górny report at bugs.python.org
Fri Sep 12 15:50:54 CEST 2014


Michał Górny added the comment:

> In CPython, the _ssl module is compiled in C. How can we check if libssl provides RAND_egd() or not at compile time?

How about... checking whether the function is provided? Unless I'm missing some major point, AC_CHECK_FUNC should be good enough.

> Is there a way to check if libssl is OpenSSL or LibreSSL?

Why would you want to do that? Do you want to make silly assumptions on API depending on provider name, and then add extra conditionals for versions?

----------
nosy: +mgorny

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


More information about the Python-bugs-list mailing list