From 7ad671b96eddf5d2cc4779fc325152494a379106 Mon Sep 17 00:00:00 2001 From: Christopher Moynihan Date: Fri, 14 Aug 2020 12:27:21 -0700 Subject: [PATCH] Fix typo in mbedtls_ssl_set_bio description. Description referred to mbedtls_ssl_sent_t callback, but the callback is named mbedtls_ssl_send_t. Signed-off-by: Christopher Moynihan --- ChangeLog.d/comment_typo_in_mbedtls_ssl_set_bio.txt | 3 +++ include/mbedtls/ssl.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 ChangeLog.d/comment_typo_in_mbedtls_ssl_set_bio.txt diff --git a/ChangeLog.d/comment_typo_in_mbedtls_ssl_set_bio.txt b/ChangeLog.d/comment_typo_in_mbedtls_ssl_set_bio.txt new file mode 100644 index 000000000..c49bdc7b0 --- /dev/null +++ b/ChangeLog.d/comment_typo_in_mbedtls_ssl_set_bio.txt @@ -0,0 +1,3 @@ +Changes + * Fix comment typo in mbedtls_ssl_set_bio_description. + diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index c5324419b..0f4cbb62a 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -1140,7 +1140,7 @@ void mbedtls_ssl_conf_dbg( mbedtls_ssl_config *conf, * \note For DTLS, you need to provide either a non-NULL * f_recv_timeout callback, or a f_recv that doesn't block. * - * \note See the documentations of \c mbedtls_ssl_sent_t, + * \note See the documentations of \c mbedtls_ssl_send_t, * \c mbedtls_ssl_recv_t and \c mbedtls_ssl_recv_timeout_t for * the conventions those callbacks must follow. *