]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
OpenSSL: Cleanup record length checks for KTLS
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 4 May 2022 20:07:36 +0000 (13:07 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 13 May 2022 23:50:43 +0000 (16:50 -0700)
commit2d6f628ab54aa90867a00c521a10203adee3b5c3
treeda3abf27175753e483539949767ab7e7b9ce62e8
parentb905cf4ab7b09299ecf70c457e3b1d3c6b0d03bf
OpenSSL: Cleanup record length checks for KTLS

In some corner cases the check for packets
which exceed the allowed record length was missing
when KTLS is initially enabled, when some
unprocessed packets are still pending.

Approved by: jkim
Obtained from: OpenSSL commit 8fff986d52606e1a33f9404504535e2e2aee3e8b
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D34972

(cherry picked from commit f6e5fcdc848fc24fe71f01ba583f13e762c0ab54)
crypto/openssl/ssl/record/ssl3_record.c