From fdf20cb5130fa72fc1f5bced7d49133506c42717 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Thu, 24 Mar 2022 09:43:02 +0100 Subject: [PATCH] Fix command indentation in ssl_parse_client_key_exchange() Signed-off-by: Neil Armstrong --- library/ssl_tls12_server.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/ssl_tls12_server.c b/library/ssl_tls12_server.c index fda5db5cbf..bfd8fd3cac 100644 --- a/library/ssl_tls12_server.c +++ b/library/ssl_tls12_server.c @@ -4075,11 +4075,11 @@ static int ssl_parse_client_key_exchange( mbedtls_ssl_context *ssl ) p += ecpoint_len; /* As RFC 5489 section 2, the premaster secret is formed as follows: - * - a uint16 containing the length (in octets) of the ECDH computation - * - the octet string produced by the ECDH computation - * - a uint16 containing the length (in octets) of the PSK - * - the PSK itself - */ + * - a uint16 containing the length (in octets) of the ECDH computation + * - the octet string produced by the ECDH computation + * - a uint16 containing the length (in octets) of the PSK + * - the PSK itself + */ unsigned char *psm = ssl->handshake->premaster; const unsigned char* const psm_end = psm + sizeof( ssl->handshake->premaster );