fix typo issues in comments
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/library/ssl_misc.h b/library/ssl_misc.h
index 2b1fa22..2be88d6 100644
--- a/library/ssl_misc.h
+++ b/library/ssl_misc.h
@@ -261,7 +261,7 @@
/* Maximum size in bytes of list in signature algorithms ext., RFC 5246/8446 */
#define MBEDTLS_SSL_MAX_SIG_ALG_LIST_LEN 65534
-/* Minimue size in bytes of list in signature algorithms ext., RFC 5246/8446 */
+/* Minimum size in bytes of list in signature algorithms ext., RFC 5246/8446 */
#define MBEDTLS_SSL_MIN_SIG_ALG_LIST_LEN 2
/* Maximum size in bytes of list in supported elliptic curve ext., RFC 4492 */
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index 143ce82..6d03276 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -7411,7 +7411,7 @@
/*
* Function for writing a signature algorithm extension.
*
- * The `exitension_data` field of signature algorithm contains `SignatureSchemeList`
+ * The `extension_data` field of signature algorithm contains a `SignatureSchemeList`
* value (TLS 1.3 RFC8446):
* enum {
* ....
@@ -7425,8 +7425,8 @@
* SignatureScheme supported_signature_algorithms<2..2^16-2>;
* } SignatureSchemeList;
*
- * The `exitension_data` field of signature algorithm contains
- * `SignatureAndHashAlgorithm` value (TLS 1.2 RFC5246):
+ * The `extension_data` field of signature algorithm contains a `SignatureAndHashAlgorithm`
+ * value (TLS 1.2 RFC5246):
* enum {
* none(0), md5(1), sha1(2), sha224(3), sha256(4), sha384(5),
* sha512(6), (255)