1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-07-19 16:33:57 +08:00
Manuel Pégourié-Gonnard 2dc6b583ac Restore behaviour of mbedtls_x509write_set_foo_name()
The documentation doesn't say you can't call these functions more than
once on the same context, and if you do it shouldn't result in a memory
leak. Historically, the call to mbedtls_asn1_free_named_data_list() in
mbedtls_x509_string_to_names() (that was removed in the previous commit)
was ensuring that. Let's restore it where it makes sense. (These are the
only 3 places calling mbedtls_x509_string_to_names() in the library.)

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2025-05-12 12:34:11 +02:00
..
2024-07-10 08:07:34 +02:00
2024-12-04 14:25:02 +01:00
2023-11-03 12:24:58 +00:00
2023-11-03 12:24:58 +00:00
2023-11-03 12:24:58 +00:00
2024-10-11 12:20:13 +01:00
2025-03-26 13:34:03 +00:00
2025-03-26 13:34:03 +00:00
2024-12-04 14:25:02 +01:00
2025-01-28 16:14:38 +01:00