diff options
author | jsing <> | 2019-03-17 15:16:39 +0000 |
---|---|---|
committer | jsing <> | 2019-03-17 15:16:39 +0000 |
commit | c42c84ca93a06fba03321d1c4ecf28e9db679081 (patch) | |
tree | b2a6421379d8e567df8d954c56e0eb13500776ab /src/lib/libssl/ssl_methods.c | |
parent | dd49a6161a8e846a7a8061c26720b909e1c2459d (diff) | |
download | openbsd-c42c84ca93a06fba03321d1c4ecf28e9db679081.tar.gz openbsd-c42c84ca93a06fba03321d1c4ecf28e9db679081.tar.bz2 openbsd-c42c84ca93a06fba03321d1c4ecf28e9db679081.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 'src/lib/libssl/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions