Add missing warning in doc

Found by Nicholas Wilson

fixes #288
This commit is contained in:
Manuel Pégourié-Gonnard 2015-10-05 12:12:39 +01:00
parent 54eec9d1dd
commit cb6af00e2a

View File

@ -1246,6 +1246,8 @@
* If set, the X509 parser will not break-off when parsing an X509 certificate * If set, the X509 parser will not break-off when parsing an X509 certificate
* and encountering an unknown critical extension. * and encountering an unknown critical extension.
* *
* \warning Depending on your PKI use, enabling this can be a security risk!
*
* Uncomment to prevent an error. * Uncomment to prevent an error.
*/ */
//#define MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION //#define MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION