This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 825007aafb48261fcb28a4a08235e46a265d9b29
Author: makejian <[email protected]>
AuthorDate: Tue Jul 29 22:54:37 2025 +0800

    crypto/openssl-wrapper: export SSL_CTX_load_verify_file and 
SSL_CTX_load_verify_dir
    
    Export SSL_CTX_load_verify_file() and SSL_CTX_load_verify_dir()
    interfaces to allow loading CA certificates from file or directory.
    
    Signed-off-by: makejian <[email protected]>
---
 crypto/openssl_mbedtls_wrapper/include/openssl/ssl.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/crypto/openssl_mbedtls_wrapper/include/openssl/ssl.h 
b/crypto/openssl_mbedtls_wrapper/include/openssl/ssl.h
index 7bdc03125..436354882 100644
--- a/crypto/openssl_mbedtls_wrapper/include/openssl/ssl.h
+++ b/crypto/openssl_mbedtls_wrapper/include/openssl/ssl.h
@@ -454,6 +454,10 @@ int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str);
 
 int SSL_CTX_set_ex_data(SSL_CTX *s, int idx, void *arg);
 
+int SSL_CTX_load_verify_file(SSL_CTX *ctx, const char *CAfile);
+
+int SSL_CTX_load_verify_dir(SSL_CTX *ctx, const char *CApath);
+
 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
                                   const char *CApath);
 

Reply via email to