Load trusted CA certificates from a hashed directory into an SSL context.
Declared in <openssl/ssl.h>
int
SSL_CTX_load_verify_dir(
SSL_CTX* ctx,
char const* CApath);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | SSL context whose verification store is updated. |
| CApath | Directory of PEM certificates named by subject-name hash (see SSL_CTX_load_verify_locations). |