Skip to content

Commit dc2db48

Browse files
Fix typos in documentation
1 parent aac3853 commit dc2db48

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/mbedtls/asn1.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ mbedtls_asn1_named_data;
182182
* after the length, i.e. the first byte of the content.
183183
* On error, the value of \c *p is undefined.
184184
* \param end End of data.
185-
* \param len On successful completion, \c *len contains the lengtth
185+
* \param len On successful completion, \c *len contains the length
186186
* read from the ASN.1 input.
187187
*
188188
* \return 0 if successful.
@@ -204,7 +204,7 @@ int mbedtls_asn1_get_len( unsigned char **p,
204204
* after the length, i.e. the first byte of the content.
205205
* On error, the value of \c *p is undefined.
206206
* \param end End of data.
207-
* \param len On successful completion, \c *len contains the lengtth
207+
* \param len On successful completion, \c *len contains the length
208208
* read from the ASN.1 input.
209209
* \param tag The expected tag.
210210
*
@@ -304,8 +304,8 @@ int mbedtls_asn1_get_bitstring_null( unsigned char **p,
304304
size_t *len );
305305

306306
/**
307-
* \brief Parses and splits an ASN.1 "SEQUENCE OF <tag>"
308-
* Updated the pointer to immediately behind the full sequence tag.
307+
* \brief Parses and splits an ASN.1 "SEQUENCE OF <tag>".
308+
* Updates the pointer to immediately behind the full sequence tag.
309309
*
310310
* \note On error, this function may return a partial list in \p cur.
311311
* You must set `cur->next = NULL` before calling this function!

0 commit comments

Comments
 (0)