summaryrefslogtreecommitdiff
path: root/include/mbedtls/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbedtls/x509.h')
-rw-r--r--include/mbedtls/x509.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbedtls/x509.h b/include/mbedtls/x509.h
index d6db9c6e..9ae825c1 100644
--- a/include/mbedtls/x509.h
+++ b/include/mbedtls/x509.h
@@ -269,6 +269,8 @@ int mbedtls_x509_time_is_past( const mbedtls_x509_time *to );
*/
int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
+#if defined(MBEDTLS_SELF_TEST)
+
/**
* \brief Checkup routine
*
@@ -276,6 +278,8 @@ int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );
*/
int mbedtls_x509_self_test( int verbose );
+#endif /* MBEDTLS_SELF_TEST */
+
/*
* Internal module functions. You probably do not want to use these unless you
* know you do.