From: Alan T. DeKok Date: Sat, 14 Sep 2019 15:32:12 +0000 (-0400) Subject: define variables outside of 'ifdef openssl' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb9d3ca01a8316f80e949c9a64359a3bc2b678fc;p=thirdparty%2Ffreeradius-server.git define variables outside of 'ifdef openssl' --- diff --git a/src/lib/server/dependency.c b/src/lib/server/dependency.c index e77a9430692..e450c6e10c2 100644 --- a/src/lib/server/dependency.c +++ b/src/lib/server/dependency.c @@ -32,6 +32,9 @@ USES_APPLE_DEPRECATED_API /* OpenSSL API has been deprecated by Apple */ static uint64_t libmagic = RADIUSD_MAGIC_NUMBER; char const *radiusd_version_short = RADIUSD_VERSION_STRING; +static CONF_SECTION *default_feature_cs; //!< Default configuration section to add features to. +static CONF_SECTION *default_version_cs; //!< Default configuration section to add features to. + #ifdef HAVE_OPENSSL_CRYPTO_H # include # include @@ -42,8 +45,6 @@ char const *radiusd_version_short = RADIUSD_VERSION_STRING; #endif static long ssl_built = OPENSSL_VERSION_NUMBER; -static CONF_SECTION *default_feature_cs; //!< Default configuration section to add features to. -static CONF_SECTION *default_version_cs; //!< Default configuration section to add features to. /** Check built and linked versions of OpenSSL match *