summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-14 22:23:19 +0100
committerPeter Powell <petpow@saberuk.com>2019-06-17 10:06:26 +0100
commitcf35e6731855212abdc71bdb75f1dde8e4f9fe47 (patch)
tree9cfe40f13aef2d4b2dc85cfc09f1385c0a5060f9
parentade19f79c5a3bee9fa0d422d86945a942087e827 (diff)
Warn when building without SSL support.
-rwxr-xr-xconfigure18
1 files changed, 16 insertions, 2 deletions
diff --git a/configure b/configure
index 5ab87f528..63da8d6cd 100755
--- a/configure
+++ b/configure
@@ -366,8 +366,22 @@ Note: you can get a <|BOLD free|> CA-signed certificate from Let's Encrypt. See
https://letsencrypt.org/getting-started/ for more details.
EOQ
-if (<src/modules/m_ssl_*.cpp> && prompt_bool $interactive, $question, $interactive) {
- system './tools/genssl', 'auto';
+if (<src/modules/m_ssl_*.cpp>) {
+ if (prompt_bool $interactive, $question, $interactive) {
+ system './tools/genssl', 'auto';
+ }
+} else {
+ print_warning <<"EOM";
+You are building without enabling any SSL modules. This is not
+recommended as SSL greatly enhances the security and privacy of your IRC server
+and in a future version will be <|BOLD required|> for linking servers.
+
+Please read the following documentation pages on how to enable SSL support:
+
+GnuTLS (recommended): https://docs.inspircd.org/3/modules/ssl_gnutls
+mbedTLS: https://docs.inspircd.org/3/modules/ssl_mbedtls
+OpenSSL: https://docs.inspircd.org/3/modules/ssl_openssl
+EOM
}
# Cache the distribution label so that its not lost when --update is run.