diff options
author | 2019-03-17 15:16:39 +0000 | |
---|---|---|
committer | 2019-03-17 15:16:39 +0000 | |
commit | 0b8e44ecaae9293b3512c6de34a1ab1d11719c15 (patch) | |
tree | b91550d7aa73ef67834321f08bb9ac0bd11a1678 /lib/libssl/ssl_methods.c | |
parent | Remove the alert level from the TLSv1.3 alert callback. (diff) | |
download | wireguard-openbsd-0b8e44ecaae9293b3512c6de34a1ab1d11719c15.tar.xz wireguard-openbsd-0b8e44ecaae9293b3512c6de34a1ab1d11719c15.zip |
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@
Diffstat (limited to 'lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions