about summary refs log tree commit diff
path: root/tls_config.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tls_config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tls_config.c b/tls_config.c
index 5eb5b69..59c69f0 100644
--- a/tls_config.c
+++ b/tls_config.c
@@ -25,16 +25,16 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <openssl/x509.h>
+
 #include <tls.h>
 
 #include "tls_internal.h"
 
-static const char default_ca_file[] = TLS_DEFAULT_CA_FILE;
-
 const char *
 tls_default_ca_cert_file(void)
 {
-	return default_ca_file;
+	return X509_get_default_cert_file();
 }
 
 int