Add x509_time_future()
diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h
index a456537..1520a7c 100644
--- a/include/polarssl/x509.h
+++ b/include/polarssl/x509.h
@@ -230,16 +230,27 @@
 
 /**
  * \brief          Check a given x509_time against the system time and check
- *                 if it is valid.
+ *                 if it is not expired.
  *
  * \param time     x509_time to check
  *
- * \return         Return 0 if the x509_time is still valid,
- *                 or 1 otherwise.
+ * \return         0 if the x509_time is still valid,
+ *                 1 otherwise.
  */
 int x509_time_expired( const x509_time *time );
 
 /**
+ * \brief          Check a given x509_time against the system time and check
+ *                 if it is not from the future.
+ *
+ * \param time     x509_time to check
+ *
+ * \return         0 if the x509_time is already valid,
+ *                 1 otherwise.
+ */
+int x509_time_future( const x509_time *time );
+
+/**
  * \brief          Checkup routine
  *
  * \return         0 if successful, or 1 if the test failed