Skip to content

Commit

Permalink
openssl: build fix for versions < 0.9.8e
Browse files Browse the repository at this point in the history
  • Loading branch information
pghmcfc authored and bagder committed Sep 10, 2014
1 parent df0a480 commit 785395b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/vtls/openssl.c
Expand Up @@ -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);
Expand Down

0 comments on commit 785395b

Please sign in to comment.