summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorjsing <>2020-01-26 07:24:47 +0000
committerjsing <>2020-01-26 07:24:47 +0000
commit1b26de44d271b3f7f83a642504512a3bcf349f8b (patch)
tree1b56e41640150c0da0d7ea761ea18a7cc78ae488 /src/lib/libssl/s3_lib.c
parent2c5f414c66d94839172e610df260529eecc306db (diff)
downloadopenbsd-1b26de44d271b3f7f83a642504512a3bcf349f8b.tar.gz
openbsd-1b26de44d271b3f7f83a642504512a3bcf349f8b.tar.bz2
openbsd-1b26de44d271b3f7f83a642504512a3bcf349f8b.zip
When an SSL method is set, bump the max version back to that of the
incoming method if it is a client. This addresses the case where TLS_method() is used to initialise a SSL_CTX, then a TLS_client_method() is then set, resulting in TLSv1.2 being used instead of TLSv1.3. This is observable in smtpd. ok beck@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions