From 390fb4ff34e4584a2faccedec64196babe7bb724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 24 Jul 2020 11:08:40 +0200 Subject: [PATCH] Fix typos in comments Co-authored-by: Janos Follath --- include/mbedtls/config.h | 2 +- library/ssl_invasive.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 124c597b6..91d54cadf 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -1915,7 +1915,7 @@ * * This setting requires compiling with clang -fsanitize=memory. * - * Uncomment to enable testing of the constant-flow nature of seletected code. + * Uncomment to enable testing of the constant-flow nature of selected code. */ //#define MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN diff --git a/library/ssl_invasive.h b/library/ssl_invasive.h index 2a8d6b52d..f04b81668 100644 --- a/library/ssl_invasive.h +++ b/library/ssl_invasive.h @@ -55,11 +55,11 @@ * to a readable buffer of \p max_data_len bytes. * \param data_len_secret The length of the data to process in \p data. * This must be no less than \p min_data_len and no - * greated than \p max_data_len. + * greater than \p max_data_len. * \param min_data_len The minimal length of \p data in bytes. * \param max_data_len The maximal length of \p data in bytes. * \param output The HMAC will be written here. This must point to - * a writeable buffer of sufficient size to hold the + * a writable buffer of sufficient size to hold the * HMAC value. * * \retval 0