aboutsummaryrefslogtreecommitdiff
path: root/src/tax_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tax_table.c')
-rw-r--r--src/tax_table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tax_table.c b/src/tax_table.c
index 1cf40c1..6405a70 100644
--- a/src/tax_table.c
+++ b/src/tax_table.c
@@ -18,6 +18,7 @@
#include <openssl/x509.h>
#include "db.h"
+#include "tls_ca.h"
#include "version.h"
#define TT_LINE_LEN 49
@@ -478,7 +479,7 @@ static int tt_get_once(const struct tt_url *u, struct buf *body, int *status,
SSL_CTX_set_min_proto_version(ctx, TLS1_2_VERSION);
SSL_CTX_set_options(ctx, SSL_OP_NO_COMPRESSION | SSL_OP_NO_RENEGOTIATION);
SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER, NULL);
- if (SSL_CTX_set_default_verify_paths(ctx) != 1) {
+ if (tls_load_default_cas(ctx) != 1) {
set_err(err, "cannot load system CA certificates");
goto done;
}