fix const-ness of argument to mbedtls_ssl_conf_cert_profile
Otherwise, it's impossible to pass in a pointer to
mbedtls_x509_crt_profile_next!
diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h
index bd88918..907bba1 100644
--- a/include/mbedtls/ssl.h
+++ b/include/mbedtls/ssl.h
@@ -1381,7 +1381,7 @@
* \param profile Profile to use
*/
void mbedtls_ssl_conf_cert_profile( mbedtls_ssl_config *conf,
- mbedtls_x509_crt_profile *profile );
+ const mbedtls_x509_crt_profile *profile );
/**
* \brief Set the data required to verify peer certificate