From 0960d5e9e37075e44223c627c93a2e1b41ce8f35 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 14 Apr 2021 18:58:17 +0100 Subject: [PATCH] Update references to config fields which were renamed. --- src/modules/extra/m_ssl_gnutls.cpp | 2 +- src/modules/extra/m_ssl_mbedtls.cpp | 2 +- src/modules/extra/m_ssl_openssl.cpp | 2 +- tools/testssl | 16 ++++++++-------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 4e6b09564..5dadda184 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -1314,7 +1314,7 @@ class ModuleSSLGnuTLS : public Module } else { - 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 "); + 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 77c81b7fa..5c768ce3c 100644 --- a/src/modules/extra/m_ssl_mbedtls.cpp +++ b/src/modules/extra/m_ssl_mbedtls.cpp @@ -888,7 +888,7 @@ class ModuleSSLmbedTLS : public Module } else { - 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 "); + 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 fb965a5ab..0f4e2d713 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -1000,7 +1000,7 @@ class ModuleSSLOpenSSL : public Module } else { - 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 "); + 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; diff --git a/tools/testssl b/tools/testssl index 52a152144..1c80ec0eb 100755 --- a/tools/testssl +++ b/tools/testssl @@ -105,14 +105,14 @@ It appears that the server endpoint is using plaintext! Make sure that: - ssl_mbedtls * If you have specified one or more tags then the value of - is the same as an field. Otherwise, it should - be set to "gnutls" for the ssl_gnutls module, "openssl" for the ssl_openssl - module, or "mbedtls" for the ssl_mbedtls module. - - * If you have specified the name of an in then the - value of is set to "gnutls" if using the ssl_gnutls - module, "openssl" if using the ssl_openssl module, or "mbedtls" if using - the ssl_mbedtls module. + is the same as an field. Otherwise, it + should be set to "gnutls" for the ssl_gnutls module, "openssl" for the + ssl_openssl module, or "mbedtls" for the ssl_mbedtls module. + + * If you have specified the name of an in then + the value of is set to "gnutls" if using the + ssl_gnutls module, "openssl" if using the ssl_openssl module, or "mbedtls" + if using the ssl_mbedtls module. * If you have your SSL configuration in a file other than inspircd.conf then that file is included by inspircd.conf. -- 2.39.2