mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-24 13:11:10 +01:00
The previous commits replace the use of dynamically allocated linked lists for X.509 name inspection. This commit is the first in a series which attempts the same for the `ExtendedKeyUsage` extension. So far, when a CRT is parsed, the extension is traversed and converted into a dynamically allocated linked list, which is then search through whenever the usage of a CRT needs to be checked through `mbedtls_x509_check_extended_key_usage()`. As a first step, this commit introduces a raw buffer holding the bounds of the `ExtendedKeyUsage` extension to the `mbedtls_x509_crt` structure.