ThePassionate opened a new pull request, #3346:
URL: https://github.com/apache/nuttx-apps/pull/3346

   ## Summary
   
   This PR includes three improvements to the OpenSSL mbedtls wrapper:
   
   1. **Export CA certificate loading interfaces** - Export 
`SSL_CTX_load_verify_file` and `SSL_CTX_load_verify_dir` functions for loading 
CA certificates from file or directory.
   
   2. **Fix SSL error code mapping** - Correct the return value mapping from 
mbedtls to OpenSSL conventions:
      - Return `1` for success
      - Return `0` for clean shutdown
      - Return `-1` for errors
   
   3. **Align SSL_CTX_new declaration with OpenSSL** - Remove the extra 
`rngctx` parameter from `SSL_CTX_new()` to match the standard OpenSSL API 
signature.
   
   ## Impact
   
   These changes improve OpenSSL API compatibility, making it easier to port 
applications that use OpenSSL to NuttX with the mbedtls backend.
   
   ## Testing
   
   Build and runtime tested on NuttX with mbedtls-based TLS applications.
   
   please ignore openssl mix case warning


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to