Closed CyberTailor closed 5 months ago
I believe check for TLS1_3_VERSION that usage of SSL_get_extms_support is already behind, should make OPENSSL_VERSION_NUMBER < 0x10100000L part not needed, but it shouldn't also cause problems, so let's merge it as is.
The library can't be compiled with LibreSSL since 1dc4ac9a0ca4a7e0ef026194a1ce56b45db6fe8d
RFC 7627 APIs were introduced in OpenSSL 1.1.0. This quick fix replaces SSL_get_extms_support with a macro in versions that don't have it.
I license this contribution under the terms set out in the Unlicense license.