From: Daniel Stenberg Date: Wed, 17 Jun 2015 22:06:46 +0000 (+0200) Subject: openssl: fix build with BoringSSL X-Git-Tag: curl-7_44_0~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46d0eba2e9f600972c56bde04357bb5cfe1bc42b;p=curl openssl: fix build with BoringSSL OPENSSL_load_builtin_modules does not exist in BoringSSL. Regression from cae43a1 --- 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