Fix param documentation for mbedtls_x509_crt_parse_cn_inet_pton

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2023-05-22 15:16:05 -04:00
parent c40a1b552c
commit 5d9aeba899

View file

@ -509,8 +509,8 @@ int mbedtls_x509_info_key_usage(char **buf, size_t *size,
* 4-byte aligned if the result will be used as struct in_addr.
* e.g. uint32_t dst[4]
*
* \note \cn is parsed as an IPv6 address if string contains ':',
* else \cn is parsed as an IPv4 address.
* \note \p cn is parsed as an IPv6 address if string contains ':',
* else \p cn is parsed as an IPv4 address.
*
* \return Length of binary IP address; num bytes written to target.
* \return \c 0 on failure to parse CN string as an IP address.