mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-27 06:35:22 +00:00
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
@ -1026,7 +1026,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK) && \
|
#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"
|
#error "MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -2013,6 +2013,8 @@
|
|||||||
* See the documentation of `mbedtls_x509_crt_verify_with_ca_cb()` and
|
* See the documentation of `mbedtls_x509_crt_verify_with_ca_cb()` and
|
||||||
* `mbedtls_ssl_conf_ca_cb()` for more information.
|
* `mbedtls_ssl_conf_ca_cb()` for more information.
|
||||||
*
|
*
|
||||||
|
* Requires: MBEDTLS_X509_CRT_PARSE_C
|
||||||
|
*
|
||||||
* Uncomment to enable trusted certificate callbacks.
|
* Uncomment to enable trusted certificate callbacks.
|
||||||
*/
|
*/
|
||||||
//#define MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK
|
//#define MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user