From 1aabe5c4d7a0946cb64791d476fd1959e3889289 Mon Sep 17 00:00:00 2001 From: Jan Bruckner Date: Mon, 6 Feb 2023 12:54:53 +0100 Subject: [PATCH] Fix typos Signed-off-by: Jan Bruckner --- include/mbedtls/ssl.h | 4 ++-- tests/scripts/doxygen.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index dbc37e831..837ef6fc1 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -4542,7 +4542,7 @@ int mbedtls_ssl_get_max_out_record_payload(const mbedtls_ssl_context *ssl); /** * \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 @@ int mbedtls_ssl_get_max_out_record_payload(const mbedtls_ssl_context *ssl); * * \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); diff --git a/tests/scripts/doxygen.sh b/tests/scripts/doxygen.sh index e3550738c..2bc8dc992 100755 --- a/tests/scripts/doxygen.sh +++ b/tests/scripts/doxygen.sh @@ -17,7 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Abort on errors (and uninitiliased variables) +# Abort on errors (and uninitialised variables) set -eu if [ -d library -a -d include -a -d tests ]; then :; else