From 3b49dd877b5f990a10355548fca10abf2380e3d8 Mon Sep 17 00:00:00 2001 From: Sam Clark <3758302+goatgoose@users.noreply.github.com> Date: Mon, 6 May 2024 16:47:36 -0400 Subject: [PATCH] peer_sig_scheme_list comment --- tls/s2n_handshake.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tls/s2n_handshake.h b/tls/s2n_handshake.h index 1cd8b54d4e5..da2a121c576 100644 --- a/tls/s2n_handshake.h +++ b/tls/s2n_handshake.h @@ -104,7 +104,12 @@ struct s2n_handshake_parameters { struct s2n_blob client_cert_chain; s2n_pkey_type client_cert_pkey_type; - /* Signature/hash algorithm pairs offered by the peer. */ + /* Signature/hash algorithm pairs offered by the peer. + * + * In the case of server connections, this list contains the client's supported signature + * schemes offered in the ClientHello. In the case of client connections, this list contains + * the server's supported signature schemes offered in the CertificateRequest. + */ struct s2n_sig_scheme_list peer_sig_scheme_list; /* Signature scheme chosen by the server */ const struct s2n_signature_scheme *server_cert_sig_scheme;