diff options
| author | jsing <> | 2020-01-25 12:31:42 +0000 |
|---|---|---|
| committer | jsing <> | 2020-01-25 12:31:42 +0000 |
| commit | a240ead1a5e04534449956b7a0561de34a445ad9 (patch) | |
| tree | 04fcc159e63e1df3ca69f3b2aceba077b01c5669 | |
| parent | 707f399e571e8d7cf0dad0510de10710ae129d95 (diff) | |
| download | openbsd-a240ead1a5e04534449956b7a0561de34a445ad9.tar.gz openbsd-a240ead1a5e04534449956b7a0561de34a445ad9.tar.bz2 openbsd-a240ead1a5e04534449956b7a0561de34a445ad9.zip | |
Only send an RI extension for pre-TLSv1.3 versions.
ok beck@
Diffstat (limited to '')
| -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 |
