CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2021/02/25 10:06:06

Modified files:
        lib/libssl     : ssl_ciphers.c ssl_lib.c ssl_locl.h 
                         ssl_methods.c ssl_packet.c ssl_versions.c 
                         tls13_client.c tls13_legacy.c tls13_server.c 

Log message:
Only use TLS versions internally (rather than both TLS and DTLS versions).

DTLS protocol version numbers are the 1's compliment of human readable TLS
version numbers, which means that newer versions decrease in value and
there is no direct mapping between TLS protocol version numbers and DTLS
protocol version numbers.

Rather than having to deal with this internally, only use TLS versions
internally and map between DTLS and TLS protocol versions when necessary.
Rename functions and variables to use 'tls_version' when they contain a
TLS version (and never a DTLS version).

ok tb@

Reply via email to