summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_record_layer.c
diff options
context:
space:
mode:
authortb <>2021-06-08 17:41:52 +0000
committertb <>2021-06-08 17:41:52 +0000
commitb39ce482fae77d674aecee10501eac52e873ebca (patch)
tree91efbc532fa039079abad86d2636838a62cd2b5d /src/lib/libssl/tls13_record_layer.c
parent035ce4aa40287a82f14fd647a4e7583c280dc33d (diff)
downloadopenbsd-b39ce482fae77d674aecee10501eac52e873ebca.tar.gz
openbsd-b39ce482fae77d674aecee10501eac52e873ebca.tar.bz2
openbsd-b39ce482fae77d674aecee10501eac52e873ebca.zip
TLSv1.3 server: avoid sending alerts in legacy records
As soon as we know that we're dealing with a TLSv1.3 client, set the legacy version in the record layer to 0x0303 so that we send alerts with the correct record version. Previously we would send early alerts with a record version of 0x0300. ok jsing
Diffstat (limited to 'src/lib/libssl/tls13_record_layer.c')
0 files changed, 0 insertions, 0 deletions