mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-25 11:23:22 +00:00
Merge branch 'cert/skipping_keyelements_validation' into 'master'
MbedTLS: Add config option for key elements and key element extension for SSL connection See merge request espressif/esp-idf!12898 (cherry picked from commit76bd33e9a4)38d67725mbedtls: Add config option key element and key element ext
This commit is contained in:
committed by
Kapil Gupta
parent
8807d8a5d8
commit
dd12e9f8cd
@@ -1193,7 +1193,11 @@
|
||||
*
|
||||
* Comment to skip keyUsage checking for both CA and leaf certificates.
|
||||
*/
|
||||
#ifdef CONFIG_MBEDTLS_X509_CHECK_KEY_USAGE
|
||||
#define MBEDTLS_X509_CHECK_KEY_USAGE
|
||||
#else
|
||||
#undef MBEDTLS_X509_CHECK_KEY_USAGE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
|
||||
@@ -1206,7 +1210,11 @@
|
||||
*
|
||||
* Comment to skip extendedKeyUsage checking for certificates.
|
||||
*/
|
||||
#ifdef CONFIG_MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
|
||||
#define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
|
||||
#else
|
||||
#undef MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \def MBEDTLS_X509_RSASSA_PSS_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user