Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105756720
D32404.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
447 B
Referenced Files
None
Subscribers
None
D32404.diff
View Options
diff --git a/sys/kern/uipc_ktls.c b/sys/kern/uipc_ktls.c
--- a/sys/kern/uipc_ktls.c
+++ b/sys/kern/uipc_ktls.c
@@ -560,6 +560,10 @@
}
if (en->auth_key_len == 0)
return (EINVAL);
+ if (en->tls_vminor != TLS_MINOR_VER_ZERO &&
+ en->tls_vminor != TLS_MINOR_VER_ONE &&
+ en->tls_vminor != TLS_MINOR_VER_TWO)
+ return (EINVAL);
break;
case CRYPTO_CHACHA20_POLY1305:
if (en->auth_algorithm != 0 || en->auth_key_len != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 5:50 AM (17 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15538545
Default Alt Text
D32404.diff (447 B)
Attached To
Mode
D32404: ktls: Reject attempts to enable AES-CBC with TLS 1.3.
Attached
Detach File
Event Timeline
Log In to Comment