From 11307a1933cbcb36ad9a066c6c345e4bf9f90127 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Mon, 17 Oct 2022 18:10:23 +0100 Subject: [PATCH] Clarify wording on allocation Signed-off-by: David Horstmann --- library/x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/x509.c b/library/x509.c index cdc87e53eb..403507413d 100644 --- a/library/x509.c +++ b/library/x509.c @@ -469,7 +469,7 @@ static int x509_get_attr_type_value( unsigned char **p, * same set so that they are "merged" together in the functions that consume * this list, eg mbedtls_x509_dn_gets(). * - * On success, this function allocates a linked list starting at cur->next + * On success, this function may allocate a linked list starting at cur->next * that must later be free'd by the caller using mbedtls_free(). In error * cases, this function frees all allocated memory internally and the caller * has no freeing responsibilities.