Update mbedtls_ssl_get_output_record_size_limit signature
Co-authored-by: Ronald Cron <ronald.cron@arm.com>
Signed-off-by: Waleed-Ziad Maamoun-Elmelegy <122474370+waleed-elmelegy-arm@users.noreply.github.com>
diff --git a/library/ssl_misc.h b/library/ssl_misc.h
index fabb48b..c8de036 100644
--- a/library/ssl_misc.h
+++ b/library/ssl_misc.h
@@ -441,18 +441,13 @@
#if defined(MBEDTLS_SSL_RECORD_SIZE_LIMIT)
/**
- * \brief Return the RecordSizeLimit (in bytes) for
- * the output buffer. This is less than the value requested by the
- * peer (see RFC 8449), since it subtracts the space required for the
- * content type and padding of the TLSInnerPlaintext struct (RFC 8446).
- * Returns MBEDTLS_SSL_OUT_CONTENT_LEN if no limit was requested by the peer.
- *
- * \sa mbedtls_ssl_get_max_out_record_payload()
- * ssl_compute_internal_record_size_limit()
+ * \brief Get the size limit in bytes for the protected outgoing records
+ * as defined in RFC 8449
*
* \param ssl SSL context
*
- * \return Current record size limit for the output buffer.
+ * \return The size limit in bytes for the protected outgoing
+ * records as defined in RFC 8449.
*/
size_t mbedtls_ssl_get_output_record_size_limit(const mbedtls_ssl_context *ssl);
#endif /* MBEDTLS_SSL_RECORD_SIZE_LIMIT */