Fix typos
Signed-off-by: Jan Bruckner <jan@janbruckner.de>
diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h
index dbc37e8..837ef6f 100644
--- a/include/mbedtls/ssl.h
+++ b/include/mbedtls/ssl.h
@@ -4542,7 +4542,7 @@
/**
* \brief Return the current maximum incoming record payload in bytes.
*
- * \note The logic to determine the maximum outgoing record payload is
+ * \note The logic to determine the maximum incoming record payload is
* version-specific. It takes into account various factors, such as
* the mbedtls_config.h setting \c MBEDTLS_SSL_IN_CONTENT_LEN, extensions
* such as the max fragment length extension or record size limit
@@ -4554,7 +4554,7 @@
*
* \param ssl SSL context
*
- * \return Current maximum payload for an outgoing record,
+ * \return Current maximum payload for an incoming record,
* or a negative error code.
*/
int mbedtls_ssl_get_max_in_record_payload(const mbedtls_ssl_context *ssl);