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 <rep...@bugs.python.org> <http://bugs.python.org/issue21356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com