feat(ssl): Add config for mbedTLS RSA bits

Add ERROR information for users.
This commit is contained in:
Dong Heng
2018-10-29 16:20:07 +08:00
parent 37f6a717d3
commit 9355e427d1
3 changed files with 32 additions and 2 deletions
components/ssl
Kconfig
mbedtls
mbedtls/library
port/esp8266/include/mbedtls

@ -2967,6 +2967,14 @@
#include MBEDTLS_USER_CONFIG_FILE
#endif
#ifdef CONFIG_MBEDTLS_RSA_BITLEN_MIN
#define MBEDTLS_RSA_BITLEN_MIN CONFIG_MBEDTLS_RSA_BITLEN_MIN
#else
#define MBEDTLS_RSA_BITLEN_MIN 2048
#endif
#define MBEDTLS_DEBUGF(_fmt, ...) printf(_fmt "\r\n", ##__VA_ARGS__)
#include "mbedtls/check_config.h"
#endif /* MBEDTLS_CONFIG_H */