Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
X509_STORE_load_locations, X509_STORE_set_default_paths, X509_STORE_load_mem, X509_STORE_add_lookup — configure files and directories used by a certificate storeSYNOPSIS
#include <openssl/x509_vfy.h>X509_STORE_load_locations(X509_STORE *store, const char *file, const char *dirs);
X509_STORE_set_default_paths(X509_STORE *store);
X509_STORE_load_mem(X509_STORE *store, void *buffer, int length);
X509_STORE_add_lookup(X509_STORE *store, const X509_LOOKUP_METHOD *method);
DESCRIPTION
X509_STORE_load_locations() instructs the store to use the PEM file and all the PEM files in the directories contained in the colon-separated list dirs for looking up certificates, in addition to files and directories that are already configured. The certificates in the directories must be in hashed form, as documented in X509_LOOKUP_hash_dir(3). Directories already in use are not added again. If NULL is passed for file or dirs, no new file or no new directories are added, respectively.RETURN VALUES
X509_STORE_load_locations() returns 1 if all files and directories specified were successfully added. It returns 0 for failure. That can happen if adding the file failed, if adding any of the directories failed, or if both arguments were NULL.FILES
- /etc/ssl/cert.pem
- default PEM file for X509_STORE_set_default_paths()
- /etc/ssl/certs/
- default directory for X509_STORE_set_default_paths()