mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
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:
@ -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.
|
* 4-byte aligned if the result will be used as struct in_addr.
|
||||||
* e.g. uint32_t dst[4]
|
* e.g. uint32_t dst[4]
|
||||||
*
|
*
|
||||||
* \note \cn is parsed as an IPv6 address if string contains ':',
|
* \note \p cn is parsed as an IPv6 address if string contains ':',
|
||||||
* else \cn is parsed as an IPv4 address.
|
* else \p cn is parsed as an IPv4 address.
|
||||||
*
|
*
|
||||||
* \return Length of binary IP address; num bytes written to target.
|
* \return Length of binary IP address; num bytes written to target.
|
||||||
* \return \c 0 on failure to parse CN string as an IP address.
|
* \return \c 0 on failure to parse CN string as an IP address.
|
||||||
|
Reference in New Issue
Block a user