Fix tests dependencies in X509_USE_C
diff --git a/configs/config-picocoin.h b/configs/config-picocoin.h
index 40d2fd1..7bd1cab 100644
--- a/configs/config-picocoin.h
+++ b/configs/config-picocoin.h
@@ -51,7 +51,6 @@
#define POLARSSL_RIPEMD160_C
#define POLARSSL_SHA1_C
#define POLARSSL_SHA256_C
-#define POLARSSL_X509_USE_C // !!!
#include "check_config.h"
diff --git a/tests/suites/test_suite_x509parse.function b/tests/suites/test_suite_x509parse.function
index da66e37..500df35 100644
--- a/tests/suites/test_suite_x509parse.function
+++ b/tests/suites/test_suite_x509parse.function
@@ -316,7 +316,7 @@
}
/* END_CASE */
-/* BEGIN_CASE */
+/* BEGIN_CASE depends_on:POLARSSL_X509_USE_C */
void x509_oid_desc( char *oid_str, char *ref_desc )
{
x509_buf oid;
@@ -341,7 +341,7 @@
}
/* END_CASE */
-/* BEGIN_CASE */
+/* BEGIN_CASE depends_on:POLARSSL_X509_USE_C */
void x509_oid_numstr( char *oid_str, char *numstr, int blen, int ret )
{
x509_buf oid;