summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_server.c
diff options
context:
space:
mode:
authortb <>2022-06-04 01:14:43 +0000
committertb <>2022-06-04 01:14:43 +0000
commit69ca0fad2ca5ce87c0f22f7afbc5c37697fa5b6c (patch)
tree7503894899025f730715c09f3227e981cc907e80 /src/lib/libssl/tls13_server.c
parent188179007375f728582763efafee0deaa02767fa (diff)
downloadopenbsd-69ca0fad2ca5ce87c0f22f7afbc5c37697fa5b6c.tar.gz
openbsd-69ca0fad2ca5ce87c0f22f7afbc5c37697fa5b6c.tar.bz2
openbsd-69ca0fad2ca5ce87c0f22f7afbc5c37697fa5b6c.zip
Tweak a comment using review feedback from jsing
Diffstat (limited to 'src/lib/libssl/tls13_server.c')
-rw-r--r--src/lib/libssl/tls13_server.c8
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,