summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-22 13:41:11 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-22 13:41:11 +0200
commit39d34b604259b17e2517fcddb5ee15198d7cb412 (patch)
treed06f06cfc2cabac0d9329f10dd65cc26674579a8 /configure
parent0cec1856ccd0cfbf7bd5d6f82be1d02f9bdeed4e (diff)
Fix a few problems
- Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK) - Do not set Membership::modes in ForceJoin() incorrectly to privs - Fix crash when spanningtree detects a configuration error on load
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 6fba700ce..1ff8da63b 100755
--- a/configure
+++ b/configure
@@ -153,12 +153,12 @@ chomp($config{HAS_OPENSSL} = `pkg-config --modversion openssl 2>/dev/null`);
chomp(our $gnutls_ver = $config{HAS_GNUTLS});
chomp(our $openssl_ver = $config{HAS_OPENSSL});
-$config{USE_GNUTLS} = "n";
+$config{USE_GNUTLS} = 0;
if (defined $opt_use_gnutls)
{
$config{USE_GNUTLS} = "y"; # Use gnutls.
}
-$config{USE_OPENSSL} = "n"; # Use openssl.
+$config{USE_OPENSSL} = 0; # Use openssl.
if (defined $opt_use_openssl)
{
$config{USE_OPENSSL} = "y";