mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 02:11:03 +00:00
Making sure that keep peer certificate option is set when server cert verification is used.
This commit is contained in:
parent
b0b1cdc059
commit
c7f6d7f75c
|
@ -910,6 +910,10 @@
|
||||||
#undef MBEDTLS_HASHES_ENABLED
|
#undef MBEDTLS_HASHES_ENABLED
|
||||||
#endif /* MBEDTLS_MD_SINGLE_HASH */
|
#endif /* MBEDTLS_MD_SINGLE_HASH */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION) && !defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
|
||||||
|
#error "MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION can only be used with MBEDTLS_SSL_KEEP_PEER_CERTIFICATE"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Note: the dependency on TinyCrypt is reflected in several ways in the code:
|
* Note: the dependency on TinyCrypt is reflected in several ways in the code:
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue