From fea3102dcbb4364723a8a8778328977980e23f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 24 Jun 2014 11:32:05 +0200 Subject: [PATCH] Fix dependencies on X509_CRT_C in tests --- configs/config-picocoin.h | 1 - tests/suites/test_suite_x509parse.function | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configs/config-picocoin.h b/configs/config-picocoin.h index c1ace1e81..40d2fd186 100644 --- a/configs/config-picocoin.h +++ b/configs/config-picocoin.h @@ -52,7 +52,6 @@ #define POLARSSL_SHA1_C #define POLARSSL_SHA256_C #define POLARSSL_X509_USE_C // !!! -#define POLARSSL_X509_CRT_PARSE_C // !!! #include "check_config.h" diff --git a/tests/suites/test_suite_x509parse.function b/tests/suites/test_suite_x509parse.function index 9fd3adc3f..da66e3727 100644 --- a/tests/suites/test_suite_x509parse.function +++ b/tests/suites/test_suite_x509parse.function @@ -142,7 +142,7 @@ void x509_verify( char *crt_file, char *ca_file, char *crl_file, } /* 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 ) { x509_crt crt; @@ -169,7 +169,7 @@ void x509_dn_gets( char *crt_file, char *entity, char *result_str ) } /* 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 ) { x509_crt crt; @@ -189,7 +189,7 @@ void x509_time_expired( char *crt_file, char *entity, int result ) } /* 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 ) { x509_crt crt;