From dc2db4832dcb4aad1fb95ab3b12db37879080969 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 20 Sep 2019 21:06:01 +0200 Subject: [PATCH] Fix typos in documentation --- include/mbedtls/asn1.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mbedtls/asn1.h b/include/mbedtls/asn1.h index 92f3bcbdd..1a7611168 100644 --- a/include/mbedtls/asn1.h +++ b/include/mbedtls/asn1.h @@ -182,7 +182,7 @@ mbedtls_asn1_named_data; * after the length, i.e. the first byte of the content. * On error, the value of \c *p is undefined. * \param end End of data. - * \param len On successful completion, \c *len contains the lengtth + * \param len On successful completion, \c *len contains the length * read from the ASN.1 input. * * \return 0 if successful. @@ -204,7 +204,7 @@ int mbedtls_asn1_get_len( unsigned char **p, * after the length, i.e. the first byte of the content. * On error, the value of \c *p is undefined. * \param end End of data. - * \param len On successful completion, \c *len contains the lengtth + * \param len On successful completion, \c *len contains the length * read from the ASN.1 input. * \param tag The expected tag. * @@ -304,8 +304,8 @@ int mbedtls_asn1_get_bitstring_null( unsigned char **p, size_t *len ); /** - * \brief Parses and splits an ASN.1 "SEQUENCE OF " - * Updated the pointer to immediately behind the full sequence tag. + * \brief Parses and splits an ASN.1 "SEQUENCE OF ". + * Updates the pointer to immediately behind the full sequence tag. * * \note On error, this function may return a partial list in \p cur. * You must set `cur->next = NULL` before calling this function!