nuttx-apps/crypto
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
..
controlse crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
libsodium crypto/libsodium: Update libsodium to 1.0.20 2025-08-13 22:10:12 +08:00
libtomcrypt crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
mbedtls mbedtls: Add an option to build ssl_client2 test program 2025-08-28 14:57:45 +08:00
openssl_mbedtls_wrapper crypto/openssl-wrapper: fix SSL error code mapping 2026-01-21 19:25:02 +08:00
tinycrypt tinycrypto: add unix as compile flags to use dev/random 2026-01-19 14:07:21 +08:00
tinydtls cmake: remove empty strings from FetchContent 2025-03-30 14:20:21 +08:00
wolfssl crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
.gitignore Add support for libtomcrypt 2021-07-12 17:49:26 -03:00
CMakeLists.txt crypto: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
Make.defs Add support for libtomcrypt 2021-07-12 17:49:26 -03:00
Makefile Add support for libtomcrypt 2021-07-12 17:49:26 -03:00