mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 23:35:49 +01:00
Guard CRT writing structure by MBEDTLS_X509_CRT_WRITE_C
This commit is contained in:
parent
6cf97b7fc6
commit
e8c52ff191
@ -194,6 +194,7 @@ mbedtls_x509_crt_profile;
|
||||
#define MBEDTLS_X509_MAX_FILE_PATH_LEN 512
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_X509_CRT_WRITE_C)
|
||||
/**
|
||||
* Container for writing a certificate (CRT)
|
||||
*/
|
||||
@ -211,6 +212,7 @@ typedef struct mbedtls_x509write_cert
|
||||
mbedtls_asn1_named_data *extensions;
|
||||
}
|
||||
mbedtls_x509write_cert;
|
||||
#endif /* MBEDTLS_X509_CRT_WRITE_C */
|
||||
|
||||
/**
|
||||
* Item in a verification chain: cert and flags for it
|
||||
|
Loading…
Reference in New Issue
Block a user