mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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:
parent
22f85e8b61
commit
825007aafb
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue