CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/03/17 09:16:39
Modified files:
lib/libssl : ssl_clnt.c ssl_pkt.c ssl_tlsext.c tls1.h
Log message:
Partially clean up the TLS1_get_{,client}_version macros.
LibreSSL only supports TLSv1.0 and above, hence the checks the macros are
performing are useless. Simplify them to their effective code. Also place
both under #ifndef LIBRESSL_INTERNAL and use the variables directly in our
code, which improves readability.
ok tb@
