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 <makejian@xiaomi.com>
This commit is contained in:
makejian 2025-07-29 22:54:37 +08:00 committed by Xiang Xiao
parent 22f85e8b61
commit 825007aafb

View file

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