diff options
Diffstat (limited to 'net/tls/tls_main.c')
-rw-r--r-- | net/tls/tls_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c index 0f028cfdf835..d1c2fd9a3f63 100644 --- a/net/tls/tls_main.c +++ b/net/tls/tls_main.c | |||
@@ -463,7 +463,8 @@ static int do_tls_setsockopt_conf(struct sock *sk, char __user *optval, | |||
463 | } | 463 | } |
464 | 464 | ||
465 | /* check version */ | 465 | /* check version */ |
466 | if (crypto_info->version != TLS_1_2_VERSION) { | 466 | if (crypto_info->version != TLS_1_2_VERSION && |
467 | crypto_info->version != TLS_1_3_VERSION) { | ||
467 | rc = -ENOTSUPP; | 468 | rc = -ENOTSUPP; |
468 | goto err_crypto_info; | 469 | goto err_crypto_info; |
469 | } | 470 | } |