mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-04-30 01:36:41 +00: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
|
#define MBEDTLS_X509_MAX_FILE_PATH_LEN 512
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_X509_CRT_WRITE_C)
|
||||||
/**
|
/**
|
||||||
* Container for writing a certificate (CRT)
|
* Container for writing a certificate (CRT)
|
||||||
*/
|
*/
|
||||||
|
@ -211,6 +212,7 @@ typedef struct mbedtls_x509write_cert
|
||||||
mbedtls_asn1_named_data *extensions;
|
mbedtls_asn1_named_data *extensions;
|
||||||
}
|
}
|
||||||
mbedtls_x509write_cert;
|
mbedtls_x509write_cert;
|
||||||
|
#endif /* MBEDTLS_X509_CRT_WRITE_C */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Item in a verification chain: cert and flags for it
|
* Item in a verification chain: cert and flags for it
|
||||||
|
|
Loading…
Reference in a new issue