Tweak a comment using review feedback from jsing
authortb <tb@openbsd.org>
Sat, 4 Jun 2022 01:14:43 +0000 (01:14 +0000)
committertb <tb@openbsd.org>
Sat, 4 Jun 2022 01:14:43 +0000 (01:14 +0000)
lib/libssl/tls13_server.c

index 815c394..2c1c12f 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_server.c,v 1.97 2022/06/03 13:26:13 tb Exp $ */
+/* $OpenBSD: tls13_server.c,v 1.98 2022/06/04 01:14:43 tb Exp $ */
 /*
  * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org>
  * Copyright (c) 2020 Bob Beck <beck@openbsd.org>
@@ -108,9 +108,9 @@ tls13_client_hello_required_extensions(struct tls13_ctx *ctx)
         */
 
        /*
-        * RFC 8446, 4.2.9: if we got a pre_shared_key, then we also need
-        * psk_key_exchange_modes. Otherwise, section 9.2 specifies that we
-        * need both signature_algorithms and supported_groups.
+        * RFC 8446 section 4.2.9 - if we received a pre_shared_key, then we
+        * also need psk_key_exchange_modes. Otherwise, section 9.2 specifies
+        * that we need both signature_algorithms and supported_groups.
         */
        if (tlsext_extension_seen(s, TLSEXT_TYPE_pre_shared_key)) {
                if (!tlsext_extension_seen(s,