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:
makejian 2025-06-17 17:07:27 +08:00 committed by Donny(董九柱)
parent 94ffd5e9f0
commit 49e2592e34

View file

@ -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