summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s_client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/s_client.c b/src/s_client.c
index 8da7401..cf7440d 100644
--- a/src/s_client.c
+++ b/src/s_client.c
@@ -254,7 +254,8 @@ s_client(int argc, char **argv)
}
#if defined(HAVE_CA_CERTS) && HAVE_CA_CERTS
- if (wolfSSL_CTX_load_verify_locations_ex(ctx, NULL, CA_CERTS,
+ if (wolfSSL_CTX_load_verify_locations_ex(ctx,
+ CA_CERTS_FILE, CA_CERTS_DIR,
WOLFSSL_LOAD_FLAG_IGNORE_ERR) !=
WOLFSSL_SUCCESS) {
fputs("Failed to load CA certificates\n", stderr);