mirror of
https://github.com/espressif/mbedtls.git
synced 2025-07-25 04:41:43 +08: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:
parent
c40a1b552c
commit
5d9aeba899
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user