Espressif ESP32-S2 Programming Manual page 1223

Table of Contents

Advertisement

Chapter 2. API Reference
CONFIG_OPENSSL_DEBUG
Enable OpenSSL debugging
Found in:
Component config
Enable OpenSSL debugging function.
If the option is enabled, "SSL_DEBUG"works.
Default value:
• No (disabled)
CONFIG_OPENSSL_ERROR_STACK
Enable OpenSSL error structure
Found in:
Component config
Enable OpenSSL Error reporting
Default value:
• Yes (enabled)
CONFIG_OPENSSL_DEBUG_LEVEL
OpenSSL debugging level
Found in:
Component config
OpenSSL debugging level.
Only function whose debugging level is higher than "OPENSSL_DEBUG_LEVEL"works.
For example: If OPENSSL_DEBUG_LEVEL = 2, you use function"SSL_DEBUG(1,"malloc failed"
)". Because 1 < 2, it will not print.
Range:
• from 0 to 255 if
Default value:
• 0 if
CONFIG_OPENSSL_DEBUG
CONFIG_OPENSSL_LOWLEVEL_DEBUG
Enable OpenSSL low-level module debugging
Found in:
Component config
If the option is enabled, low-level module debugging function of OpenSSL is enabled, e.g. mbedtls
internal debugging function.
Default value:
• No (disabled) if
CONFIG_OPENSSL_ASSERT
Select OpenSSL assert function
Found in:
Component config
OpenSSL function needs "assert"function to check if input parameters are valid.
If you want to use assert debugging function, "OPENSSL_DEBUG"should be enabled.
Available options:
• Do nothing (OPENSSL_ASSERT_DO_NOTHING)
Do nothing and "SSL_ASSERT"does not work.
Espressif Systems
>
OpenSSL
>
OpenSSL
>
OpenSSL
CONFIG_OPENSSL_DEBUG
>
OpenSSL
CONFIG_OPENSSL_DEBUG
>
OpenSSL
1212
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Table of Contents

Save PDF