curl-library
Re: [RELEASE] curl and libcurl 7.38.0
Date: Wed, 10 Sep 2014 11:54:16 +0100
On Wed, 10 Sep 2014 08:39:21 +0200 (CEST)
Daniel Stenberg <daniel_at_haxx.se> wrote:
> Hi hackers.
>
> Another eight week development cycle loops and here's a new public
> release with contributions from no less than 41 separate individuals.
> This one contains two fixes for security problems and I'll post
> separate security advisories for these shortly.
>
> Get it from http://curl.haxx.se/
I'm getting build failures with old openssl versions, which don't
define the CONF_MFLAGS_DEFAULT_SECTION symbol:
vtls/openssl.c: In function 'Curl_ossl_init':
vtls/openssl.c:753: error: 'CONF_MFLAGS_DEFAULT_SECTION' undeclared
(first use in this function) vtls/openssl.c:753: error: (Each
undeclared identifier is reported only once vtls/openssl.c:753: error:
for each function it appears in.)
It appears to have been introduced some time after openssl 0.9.8b
and up to 0.9.8e (which has it).
I'm using this simple workaround for now:
--- lib/vtls/openssl.c
+++ lib/vtls/openssl.c
@@ -749,6 +749,12 @@ int Curl_ossl_init(void)
calls CONF_modules_load_file() and we use that instead and we
ignore its return code! */
+ /* CONF_MFLAGS_DEFAULT_SECTION introduced some time between 0.9.8b
and
+ 0.9.8e */
+#ifndef CONF_MFLAGS_DEFAULT_SECTION
+#define CONF_MFLAGS_DEFAULT_SECTION 0x0
+#endif
+
(void)CONF_modules_load_file(NULL, NULL,
CONF_MFLAGS_DEFAULT_SECTION|
CONF_MFLAGS_IGNORE_MISSING_FILE);
Cheers, Paul.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-10