nuttx-apps/crypto/openssl_mbedtls_wrapper
makejian 690d8bddce crypto/openssl-wrapper: fix SSL error code mapping
Map mbedtls error codes to OpenSSL standard return codes in
SSL_connect/SSL_do_handshake:
- Return 1 on success
- Return 0 on controlled shutdown
- Return -1 on fatal error (was returning mbedtls error codes)

This aligns the return values with OpenSSL specification where
SSL_get_error() should be called to get the actual error reason.

Signed-off-by: makejian <makejian@xiaomi.com>
2026-01-21 19:25:02 +08:00
..
include/openssl crypto/openssl-wrapper: export SSL_CTX_load_verify_file and SSL_CTX_load_verify_dir 2026-01-21 19:25:02 +08:00
mbedtls crypto/openssl-wrapper: fix SSL error code mapping 2026-01-21 19:25:02 +08:00
CMakeLists.txt crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Kconfig openssl-mbedtls-wrapper: export SSL_ASSERT* macro 2026-01-19 22:51:14 +08:00
Make.defs crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Makefile crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00