aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-18 00:06:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-18 00:06:46 +0200
commit46d0eba2e9f600972c56bde04357bb5cfe1bc42b (patch)
treead72ec0914b2f2f704f60e91cd99dc1edb7cbe97 /lib/vtls
parent4a2398627c32c9132b270f6c79492f7bbc5b90c3 (diff)
openssl: fix build with BoringSSL
OPENSSL_load_builtin_modules does not exist in BoringSSL. Regression from cae43a1
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/openssl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 872829a00..e84193616 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -136,6 +136,11 @@
#define CONF_modules_load_file(a,b,c)
#endif
+#ifdef OPENSSL_IS_BORINGSSL
+/* not present in BoringSSL */
+#define OPENSSL_load_builtin_modules(x)
+#endif
+
/*
* Number of bytes to read from the random number seed file. This must be
* a finite value (because some entropy "files" like /dev/urandom have