SSL_CTX_set_def_verify_paths(3) — Subroutines
NAME
SSL_CTX_set_def_verify_paths − Sets default file path and file name of trusted CA certificate
SYNOPSIS
#include <openssl/ssl.h>
int SSL_CTX_set_def_verify_paths(
SSL_CTX ∗ctx );
DESCRIPTION
The SSL_CTX_set_def_verify_paths() function sets pre-compiled default CA path and file name for certificate verification. The default CA file path and name are defined as follows:
| #define X509_CERT_DIR | "SSLCERTS:" |
| #define X509_CERT_FILE | "SSLCERTS: cert.pem" |
NOTES
The SSL_CTX_set_default_verify_paths() function is not available on OpenVMS.
RETURN VALUES
The following return values can occur:
0The operation failed.
1The operation succeeded.
SEE ALSO
Functions: SSL_CTX_load_verify_locations(3), SSL_CTX_set_verify(3)