mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 11:11:08 +01:00
Add unused field to mbedtls_x509_crt structure
This field reserves a small space for us to repurpose in the lifetime of the 4.1 LTS release without breaking the ABI, if needed. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
@@ -82,6 +82,12 @@ typedef struct mbedtls_x509_crt {
|
|||||||
mbedtls_md_type_t MBEDTLS_PRIVATE(sig_md); /**< Internal representation of the MD algorithm of the signature algorithm, e.g. MBEDTLS_MD_SHA256 */
|
mbedtls_md_type_t MBEDTLS_PRIVATE(sig_md); /**< Internal representation of the MD algorithm of the signature algorithm, e.g. MBEDTLS_MD_SHA256 */
|
||||||
mbedtls_pk_sigalg_t MBEDTLS_PRIVATE(sig_pk); /**< Internal representation of the Public Key algorithm of the signature algorithm, e.g. MBEDTLS_PK_RSA */
|
mbedtls_pk_sigalg_t MBEDTLS_PRIVATE(sig_pk); /**< Internal representation of the Public Key algorithm of the signature algorithm, e.g. MBEDTLS_PK_RSA */
|
||||||
|
|
||||||
|
/* Unused field reserved for future use */
|
||||||
|
union {
|
||||||
|
size_t number;
|
||||||
|
void *ptr;
|
||||||
|
} MBEDTLS_PRIVATE(unused);
|
||||||
|
|
||||||
/** Next certificate in the linked list that constitutes the CA chain.
|
/** Next certificate in the linked list that constitutes the CA chain.
|
||||||
* \p NULL indicates the end of the list.
|
* \p NULL indicates the end of the list.
|
||||||
* Do not modify this field directly. */
|
* Do not modify this field directly. */
|
||||||
|
|||||||
Reference in New Issue
Block a user