From bf95e9a0584c54bf7535c76608de31b0e52d29b2 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 1 Jun 2023 15:33:15 +0100 Subject: [PATCH] Reword description and change NUL to null Signed-off-by: David Horstmann --- include/mbedtls/oid.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/oid.h b/include/mbedtls/oid.h index 68ae723179..7fa0141399 100644 --- a/include/mbedtls/oid.h +++ b/include/mbedtls/oid.h @@ -479,9 +479,8 @@ int mbedtls_oid_get_numeric_string(char *buf, size_t size, const mbedtls_asn1_bu * heap. It must be freed by the caller using mbedtls_free(). * * \param oid #mbedtls_asn1_buf to populate with the DER-encoded OID - * \param oid_str string representation of the OID to parse, not - * NUL-terminated - * \param size length of the OID string, not including any NUL terminator + * \param oid_str string representation of the OID to parse + * \param size length of the OID string, not including any null terminator * * \return 0 if successful * \return #MBEDTLS_ERR_ASN1_INVALID_DATA if \p oid_str does not