]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Warn when building without SSL support.
authorPeter Powell <petpow@saberuk.com>
Fri, 14 Jun 2019 21:23:19 +0000 (22:23 +0100)
committerPeter Powell <petpow@saberuk.com>
Mon, 17 Jun 2019 09:06:26 +0000 (10:06 +0100)
configure

index 5ab87f528090d685931f1351d262b3186987970b..63da8d6cdb3320d8934556c6b09e24b32a03683a 100755 (executable)
--- 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.