diff options
author | jsing <> | 2020-01-25 12:31:42 +0000 |
---|---|---|
committer | jsing <> | 2020-01-25 12:31:42 +0000 |
commit | 74477b68f746b2effaedcba6a34947c12f2272b9 (patch) | |
tree | 04fcc159e63e1df3ca69f3b2aceba077b01c5669 /src | |
parent | 6b9adcf89cc2130fb9b26ac8e68e18a16ae477b7 (diff) | |
download | openbsd-74477b68f746b2effaedcba6a34947c12f2272b9.tar.gz openbsd-74477b68f746b2effaedcba6a34947c12f2272b9.tar.bz2 openbsd-74477b68f746b2effaedcba6a34947c12f2272b9.zip |
Only send an RI extension for pre-TLSv1.3 versions.
ok beck@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/ssl_tlsext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_tlsext.c b/src/lib/libssl/ssl_tlsext.c index e66bd08f84..b76a48b99a 100644 --- a/src/lib/libssl/ssl_tlsext.c +++ b/src/lib/libssl/ssl_tlsext.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_tlsext.c,v 1.54 2020/01/22 10:38:11 tb Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.c,v 1.55 2020/01/25 12:31:42 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> | 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> |
@@ -443,7 +443,7 @@ tlsext_ri_server_parse(SSL *s, CBS *cbs, int *alert) | |||
443 | int | 443 | int |
444 | tlsext_ri_server_needs(SSL *s) | 444 | tlsext_ri_server_needs(SSL *s) |
445 | { | 445 | { |
446 | return (S3I(s)->send_connection_binding); | 446 | return (s->version < TLS1_3_VERSION && S3I(s)->send_connection_binding); |
447 | } | 447 | } |
448 | 448 | ||
449 | int | 449 | int |