summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_handshake.c
diff options
context:
space:
mode:
authorjsing <>2019-03-17 15:16:39 +0000
committerjsing <>2019-03-17 15:16:39 +0000
commitc42c84ca93a06fba03321d1c4ecf28e9db679081 (patch)
treeb2a6421379d8e567df8d954c56e0eb13500776ab /src/lib/libssl/tls13_handshake.c
parentdd49a6161a8e846a7a8061c26720b909e1c2459d (diff)
downloadopenbsd-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/tls13_handshake.c')
0 files changed, 0 insertions, 0 deletions