Fix dependencies on X509_CRT_C in tests
diff --git a/configs/config-picocoin.h b/configs/config-picocoin.h
index c1ace1e..40d2fd1 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 9fd3adc..da66e37 100644
--- a/tests/suites/test_suite_x509parse.function
+++ b/tests/suites/test_suite_x509parse.function
@@ -142,7 +142,7 @@
}
/* 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 @@
}
/* 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 @@
}
/* 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;