Fix typos
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index 441aa0f..d712deb 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -5139,7 +5139,7 @@
* length of the other key.
*/
case MBEDTLS_KEY_EXCHANGE_RSA_PSK:
- /* For RSA-PKS other key length is always 48 bytes. */
+ /* For RSA-PSK other key length is always 48 bytes. */
other_secret_len = 48;
other_secret = handshake->premaster + 2;
break;
@@ -5408,7 +5408,7 @@
* checked before calling this function.
*
* The exception is opaque DHE-PSK. For DHE-PSK fill premaster with
- * the the shared secret without PSK.
+ * the shared secret without PSK.
*/
if ( key_ex != MBEDTLS_KEY_EXCHANGE_DHE_PSK )
{