Rename boolean functions to be clearer
diff --git a/include/mbedtls/x509.h b/include/mbedtls/x509.h
index 027dd03..7cb0d46 100644
--- a/include/mbedtls/x509.h
+++ b/include/mbedtls/x509.h
@@ -238,7 +238,7 @@
* \return 0 if the mbedtls_x509_time is still valid,
* 1 otherwise.
*/
-int mbedtls_x509_time_expired( const mbedtls_x509_time *time );
+int mbedtls_x509_time_is_past( const mbedtls_x509_time *time );
/**
* \brief Check a given mbedtls_x509_time against the system time and check
@@ -249,7 +249,7 @@
* \return 0 if the mbedtls_x509_time is already valid,
* 1 otherwise.
*/
-int mbedtls_x509_time_future( const mbedtls_x509_time *time );
+int mbedtls_x509_time_is_future( const mbedtls_x509_time *time );
/**
* \brief Checkup routine