mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 09:48:31 +00:00
Fix dependencies on X509_CRT_C in tests
This commit is contained in:
parent
43b29861fe
commit
fea3102dcb
2 changed files with 3 additions and 4 deletions
|
@ -52,7 +52,6 @@
|
||||||
#define POLARSSL_SHA1_C
|
#define POLARSSL_SHA1_C
|
||||||
#define POLARSSL_SHA256_C
|
#define POLARSSL_SHA256_C
|
||||||
#define POLARSSL_X509_USE_C // !!!
|
#define POLARSSL_X509_USE_C // !!!
|
||||||
#define POLARSSL_X509_CRT_PARSE_C // !!!
|
|
||||||
|
|
||||||
#include "check_config.h"
|
#include "check_config.h"
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ void x509_verify( char *crt_file, char *ca_file, char *crl_file,
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_USE_C */
|
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_C */
|
||||||
void x509_dn_gets( char *crt_file, char *entity, char *result_str )
|
void x509_dn_gets( char *crt_file, char *entity, char *result_str )
|
||||||
{
|
{
|
||||||
x509_crt crt;
|
x509_crt crt;
|
||||||
|
@ -169,7 +169,7 @@ void x509_dn_gets( char *crt_file, char *entity, char *result_str )
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_USE_C */
|
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_C */
|
||||||
void x509_time_expired( char *crt_file, char *entity, int result )
|
void x509_time_expired( char *crt_file, char *entity, int result )
|
||||||
{
|
{
|
||||||
x509_crt crt;
|
x509_crt crt;
|
||||||
|
@ -189,7 +189,7 @@ void x509_time_expired( char *crt_file, char *entity, int result )
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_USE_C */
|
/* BEGIN_CASE depends_on:POLARSSL_FS_IO:POLARSSL_X509_CRT_C */
|
||||||
void x509_time_future( char *crt_file, char *entity, int result )
|
void x509_time_future( char *crt_file, char *entity, int result )
|
||||||
{
|
{
|
||||||
x509_crt crt;
|
x509_crt crt;
|
||||||
|
|
Loading…
Reference in a new issue