Merge pull request #7049 from KloolK/typos

Fix typos
This commit is contained in:
Gilles Peskine 2023-02-10 15:07:07 +01:00 committed by GitHub
commit b009559c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -4545,7 +4545,7 @@ int mbedtls_ssl_get_max_out_record_payload(const mbedtls_ssl_context *ssl);
/** /**
* \brief Return the current maximum incoming record payload in bytes. * \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 * version-specific. It takes into account various factors, such as
* the mbedtls_config.h setting \c MBEDTLS_SSL_IN_CONTENT_LEN, extensions * the mbedtls_config.h setting \c MBEDTLS_SSL_IN_CONTENT_LEN, extensions
* such as the max fragment length extension or record size limit * such as the max fragment length extension or record size limit
@ -4557,7 +4557,7 @@ int mbedtls_ssl_get_max_out_record_payload(const mbedtls_ssl_context *ssl);
* *
* \param ssl SSL context * \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. * or a negative error code.
*/ */
int mbedtls_ssl_get_max_in_record_payload(const mbedtls_ssl_context *ssl); int mbedtls_ssl_get_max_in_record_payload(const mbedtls_ssl_context *ssl);

View File

@ -17,7 +17,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
# Abort on errors (and uninitiliased variables) # Abort on errors (and uninitialised variables)
set -eu set -eu
if [ -d library -a -d include -a -d tests ]; then :; else if [ -d library -a -d include -a -d tests ]; then :; else