From a2171e61888f6fccedfb4d4cc0d704c53adccc55 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 21 Apr 2020 01:30:32 +0100 Subject: [PATCH] Tell the admin how to use a SSL profile if they define one. --- src/modules/extra/m_ssl_gnutls.cpp | 1 + src/modules/extra/m_ssl_mbedtls.cpp | 1 + src/modules/extra/m_ssl_openssl.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 8cf2c7114..df8daf4e3 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -1313,6 +1313,7 @@ class ModuleSSLGnuTLS : public Module } } + ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "You have defined an tag; you should use this in place of \"gnutls\" when configuring TLS (SSL) connections in or "); for (ConfigIter i = tags.first; i != tags.second; ++i) { ConfigTag* tag = i->second; diff --git a/src/modules/extra/m_ssl_mbedtls.cpp b/src/modules/extra/m_ssl_mbedtls.cpp index 006d09f15..1666c4700 100644 --- a/src/modules/extra/m_ssl_mbedtls.cpp +++ b/src/modules/extra/m_ssl_mbedtls.cpp @@ -887,6 +887,7 @@ class ModuleSSLmbedTLS : public Module } } + ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "You have defined an tag; you should use this in place of \"mbedtls\" when configuring TLS (SSL) connections in or "); for (ConfigIter i = tags.first; i != tags.second; ++i) { ConfigTag* tag = i->second; diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index d4a3e24db..f75d9b485 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -991,6 +991,7 @@ class ModuleSSLOpenSSL : public Module } } + ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "You have defined an tag; you should use this in place of \"openssl\" when configuring TLS (SSL) connections in or "); for (ConfigIter i = tags.first; i != tags.second; ++i) { ConfigTag* tag = i->second; -- 2.39.5