Page MenuHomeFreeBSD

D32404.diff
No OneTemporary

D32404.diff

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

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)

Event Timeline