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>
This commit is contained in:
parent
60f0f727c3
commit
e2d3db5cfc
1 changed files with 4 additions and 9 deletions
|
@ -441,18 +441,13 @@ size_t mbedtls_ssl_get_input_max_frag_len(const mbedtls_ssl_context *ssl);
|
|||
|
||||
#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 */
|
||||
|
|
Loading…
Reference in a new issue