aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2024-01-04 04:34:38 +0100
committerMarcel Holtmann <marcel@holtmann.org>2024-01-04 04:35:10 +0100
commitbd862fa36b58f067f0959149c6b038d87cb6a63e (patch)
tree7643e6fd1ae54af590abe3d42811487e740b094c
parent260e0247e7b93246b7fafc74e55b70ad7c69a39c (diff)
tls: Fix spelling of similarly, possession and renegotiation
-rw-r--r--ell/tls-extensions.c2
-rw-r--r--ell/tls.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ell/tls-extensions.c b/ell/tls-extensions.c
index 64a03031..eaa8912d 100644
--- a/ell/tls-extensions.c
+++ b/ell/tls-extensions.c
@@ -955,7 +955,7 @@ static bool tls_renegotiation_info_absent(struct l_tls *tls)
/*
* The normal policy otherwise is that the extension must be
- * present in renegotation if the previous Client or Server Hello
+ * present in renegotiation if the previous Client or Server Hello
* did include this extension, or the SCSV in the Client Hello case.
*/
return !tls->ready || !tls->renegotiation_info.secure_renegotiation;
diff --git a/ell/tls.c b/ell/tls.c
index 0c856198..5246650e 100644
--- a/ell/tls.c
+++ b/ell/tls.c
@@ -1311,7 +1311,7 @@ static ssize_t tls_append_hello_extensions(struct l_tls *tls,
* Note: could handle NULL client_write with non-NULL
* server_handle or server_handle_absent as "server-oriented"
* extension (7.4.1.4) and write empty extension_data and
- * simliarly require empty extension_data in
+ * similarly require empty extension_data in
* tls_handle_client_hello if client_handle NULL.
*/
if (!ext_write)
@@ -3299,7 +3299,7 @@ static void tls_handle_handshake(struct l_tls *tls, int type,
*
* * (RSA key exchange algorithm case) the correct
* receival of this Finished message confirms the
- * posession of the master secret, it is verified by
+ * possession of the master secret, it is verified by
* both the successful decryption and the MAC of this
* message (either should be enough) because we entered
* the TLS_HANDSHAKE_WAIT_FINISHED state only after