diff options
author | tb <> | 2022-06-04 01:14:43 +0000 |
---|---|---|
committer | tb <> | 2022-06-04 01:14:43 +0000 |
commit | 0668d334dd826a11c75243533ab82e80fdc5f7c0 (patch) | |
tree | 7503894899025f730715c09f3227e981cc907e80 | |
parent | 2caafd751c9c4e121a80400e066e85dab685cc21 (diff) | |
download | openbsd-0668d334dd826a11c75243533ab82e80fdc5f7c0.tar.gz openbsd-0668d334dd826a11c75243533ab82e80fdc5f7c0.tar.bz2 openbsd-0668d334dd826a11c75243533ab82e80fdc5f7c0.zip |
Tweak a comment using review feedback from jsing
-rw-r--r-- | src/lib/libssl/tls13_server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/tls13_server.c b/src/lib/libssl/tls13_server.c index 815c394737..2c1c12ff25 100644 --- a/src/lib/libssl/tls13_server.c +++ b/src/lib/libssl/tls13_server.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls13_server.c,v 1.97 2022/06/03 13:26:13 tb Exp $ */ | 1 | /* $OpenBSD: tls13_server.c,v 1.98 2022/06/04 01:14:43 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> |
4 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 4 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
@@ -108,9 +108,9 @@ tls13_client_hello_required_extensions(struct tls13_ctx *ctx) | |||
108 | */ | 108 | */ |
109 | 109 | ||
110 | /* | 110 | /* |
111 | * RFC 8446, 4.2.9: if we got a pre_shared_key, then we also need | 111 | * RFC 8446 section 4.2.9 - if we received a pre_shared_key, then we |
112 | * psk_key_exchange_modes. Otherwise, section 9.2 specifies that we | 112 | * also need psk_key_exchange_modes. Otherwise, section 9.2 specifies |
113 | * need both signature_algorithms and supported_groups. | 113 | * that we need both signature_algorithms and supported_groups. |
114 | */ | 114 | */ |
115 | if (tlsext_extension_seen(s, TLSEXT_TYPE_pre_shared_key)) { | 115 | if (tlsext_extension_seen(s, TLSEXT_TYPE_pre_shared_key)) { |
116 | if (!tlsext_extension_seen(s, | 116 | if (!tlsext_extension_seen(s, |