Rename MBEDTLS_X509_INFO to !MBEDTLS_X509_REMOVE_INFO
diff --git a/include/mbedtls/x509_crt.h b/include/mbedtls/x509_crt.h
index 0d55eec..4631d1a 100644
--- a/include/mbedtls/x509_crt.h
+++ b/include/mbedtls/x509_crt.h
@@ -339,7 +339,7 @@
int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path );
#endif /* MBEDTLS_FS_IO */
-#if defined(MBEDTLS_X509_INFO)
+#if !defined(MBEDTLS_X509_REMOVE_INFO)
/**
* \brief Returns an informational string about the
* certificate.
@@ -356,7 +356,7 @@
const mbedtls_x509_crt *crt );
#endif
-#if defined(MBEDTLS_X509_INFO)
+#if !defined(MBEDTLS_X509_REMOVE_INFO)
/**
* \brief Returns an informational string about the
* verification status of a certificate.