nuttx-apps/crypto/openssl_mbedtls_wrapper/Kconfig
makejian 49e2592e34 openssl-mbedtls-wrapper: export SSL_ASSERT* macro
VELAPLATFO-62586

Change-Id: I2ceac930c87196a16ea7ddf5e4130bb991b51025
Signed-off-by: makejian <makejian@xiaomi.com>
(cherry picked from commit d0547662d5006ec0a348d89d3d7e251ef4bb183c)
2026-01-19 22:51:14 +08:00

31 lines
788 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
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