mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-01 06:33:07 +00:00
openssl-mbedtls-wrapper: export SSL_ASSERT* macro
VELAPLATFO-62586 Change-Id: I2ceac930c87196a16ea7ddf5e4130bb991b51025 Signed-off-by: makejian <makejian@xiaomi.com> (cherry picked from commit d0547662d5006ec0a348d89d3d7e251ef4bb183c)
This commit is contained in:
parent
94ffd5e9f0
commit
49e2592e34
1 changed files with 22 additions and 0 deletions
|
|
@ -7,3 +7,25 @@ config OPENSSL_MBEDTLS_WRAPPER
|
|||
depends on CRYPTO_MBEDTLS
|
||||
bool "openssl mbedtls wrapper"
|
||||
default n
|
||||
|
||||
if OPENSSL_MBEDTLS_WRAPPER
|
||||
|
||||
choice
|
||||
prompt "Openssl Mbedtls Wrapper Assert Debug"
|
||||
default OPENSSL_ASSERT_EXIT
|
||||
|
||||
config OPENSSL_ASSERT_DEBUG
|
||||
bool "SSL_ASSERT* will show error file name and line"
|
||||
|
||||
config OPENSSL_ASSERT_EXIT
|
||||
bool "SSL_ASSERT* will just return error code"
|
||||
|
||||
config OPENSSL_ASSERT_DEBUG_EXIT
|
||||
bool "SSL_ASSERT* will show error file name and line, then return error code"
|
||||
|
||||
config OPENSSL_ASSERT_DEBUG_BLOCK
|
||||
bool "SSL_ASSERT* will show error file name and line, then block here with 'while (1)'"
|
||||
|
||||
endchoice
|
||||
|
||||
endif # OPENSSL_MBEDTLS_WRAPPER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue