[issue23177] test_ssl: failures on OpenBSD with LibreSSL

Bernard Spil report at bugs.python.org
Thu Jan 8 10:31:06 CET 2015


Bernard Spil added the comment:

LibreSSL defines in opensslv.h
#define LIBRESSL_VERSION_NUMBER 0x20000000L
#define OPENSSL_VERSION_NUMBER 0x20000000L

And FreeBSD replaces
#define OPENSSL_VERSION_NUMBER 0x1000107fL

Proper way would be to check for LIBRESSL_VERSION_NUMBER string, FreeBSD modifies the OpenSSL version number to indicate its compatibility level (as stated in commit log)

----------

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


More information about the Python-bugs-list mailing list