mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix generating self-signed certificates on newer versions of GnuTLS.
This commit is contained in:
parent
c853673b79
commit
d24b04308b
@ -56,7 +56,7 @@ if (scalar @ARGV < 1 || $ARGV[0] !~ /^(?:auto|gnutls|openssl)$/i) {
|
||||
my $certtool = $^O eq 'darwin' ? 'gnutls-certtool' : 'certtool';
|
||||
|
||||
# Check whether the user has the required tools installed.
|
||||
my $has_gnutls = `$certtool --version v 2>/dev/null`;
|
||||
my $has_gnutls = `$certtool --version=v 2>/dev/null`;
|
||||
my $has_openssl = !system 'openssl version >/dev/null 2>&1';
|
||||
|
||||
# The framework the user has specified.
|
||||
|
Loading…
x
Reference in New Issue
Block a user