fix wrong dependency for X509_TRUSTED_CERTIFICATE_CALLBACK
Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
8841d6b2f6
commit
8e45cdd440
2 changed files with 3 additions and 1 deletions
|
@ -1026,7 +1026,7 @@
|
|||
#endif
|
||||
|
||||
#if defined(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK) && \
|
||||
( !defined(MBEDTLS_X509_CSR_WRITE_C) )
|
||||
( !defined(MBEDTLS_X509_CRT_PARSE_C) )
|
||||
#error "MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2013,6 +2013,8 @@
|
|||
* See the documentation of `mbedtls_x509_crt_verify_with_ca_cb()` and
|
||||
* `mbedtls_ssl_conf_ca_cb()` for more information.
|
||||
*
|
||||
* Requires: MBEDTLS_X509_CRT_PARSE_C
|
||||
*
|
||||
* Uncomment to enable trusted certificate callbacks.
|
||||
*/
|
||||
//#define MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK
|
||||
|
|
Loading…
Reference in a new issue