summaryrefslogtreecommitdiff
path: root/src/crypto/x509/x509_def.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/x509/x509_def.c')
-rw-r--r--src/crypto/x509/x509_def.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crypto/x509/x509_def.c b/src/crypto/x509/x509_def.c
index 2bf2240c..cb34ea4a 100644
--- a/src/crypto/x509/x509_def.c
+++ b/src/crypto/x509/x509_def.c
@@ -59,7 +59,12 @@
/* TODO(fork): cleanup */
+#if defined(OPENSSL_FUCHSIA)
+#define OPENSSLDIR "/system/data/boringssl"
+#else
#define OPENSSLDIR "/etc/ssl"
+#endif
+
#define X509_CERT_AREA OPENSSLDIR
#define X509_CERT_DIR OPENSSLDIR "/certs"
#define X509_CERT_FILE OPENSSLDIR "/cert.pem"