bpo-33995: fix ssl tests when built with LibreSSL by alanhuang122 · Pull Request #8050 · python/cpython
LibreSSL handles setting minimum and maximum protocol
versions for SSL contexts differently than OpenSSL.
This commit adds ssl.TLSVersion.{MAX,MIN}IMUM_AVAILABLE
constants, and fixes test_min_max_version under LibreSSL.