- Added X509 CA Path support

diff --git a/include/polarssl/x509.h b/include/polarssl/x509.h
index 2cd883f..e0a2776 100644
--- a/include/polarssl/x509.h
+++ b/include/polarssl/x509.h
@@ -457,6 +457,22 @@
 
 /** \ingroup x509_module */
 /**
+ * \brief          Load one or more certificate files from a path and add them
+ *                 to the chained list. Parses permissively. If some
+ *                 certificates can be parsed, the result is the number
+ *                 of failed certificates it encountered. If none complete
+ *                 correctly, the first error is returned.
+ *
+ * \param chain    points to the start of the chain
+ * \param path     directory / folder to read the certificate files from
+ *
+ * \return         0 if all certificates parsed successfully, a positive number
+ *                 if partly successful or a specific X509 or PEM error code
+ */
+int x509parse_crtpath( x509_cert *chain, const char *path );
+
+/** \ingroup x509_module */
+/**
  * \brief          Parse one or more CRLs and add them
  *                 to the chained list
  *