]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_ssl_openssl.cpp
Update user-facing text and comments of SSL to TLS.
[user/henk/code/inspircd.git] / src / modules / extra / m_ssl_openssl.cpp
index 0ecd8444dac239df67028ad86ca183a0786d6cb0..30cabdf2747d98dc82be6f68d07f03ce665f35e0 100644 (file)
@@ -251,7 +251,7 @@ namespace OpenSSL
                        X509_STORE* store = SSL_CTX_get_cert_store(ctx);
                        if (!store)
                        {
-                               throw ModuleException("Unable to get X509_STORE from SSL context; this should never happen");
+                               throw ModuleException("Unable to get X509_STORE from TLS (SSL) context; this should never happen");
                        }
                        ERR_clear_error();
                        if (!X509_STORE_load_locations(store,
@@ -987,7 +987,7 @@ class ModuleSSLOpenSSL : public Module
                        }
                        catch (OpenSSL::Exception& ex)
                        {
-                               throw ModuleException("Error while initializing the default SSL profile - " + ex.GetReason());
+                               throw ModuleException("Error while initializing the default TLS (SSL) profile - " + ex.GetReason());
                        }
                }
 
@@ -1011,7 +1011,7 @@ class ModuleSSLOpenSSL : public Module
                        }
                        catch (CoreException& ex)
                        {
-                               throw ModuleException("Error while initializing SSL profile \"" + name + "\" at " + tag->getTagLocation() + " - " + ex.GetReason());
+                               throw ModuleException("Error while initializing TLS (SSL) profile \"" + name + "\" at " + tag->getTagLocation() + " - " + ex.GetReason());
                        }
 
                        newprofiles.push_back(prov);
@@ -1062,7 +1062,7 @@ class ModuleSSLOpenSSL : public Module
                try
                {
                        ReadProfiles();
-                       ServerInstance->SNO->WriteToSnoMask('a', "SSL module %s rehashed.", MODNAME);
+                       ServerInstance->SNO->WriteToSnoMask('a', "TLS (SSL) module OpenSSL rehashed.");
                }
                catch (ModuleException& ex)
                {
@@ -1078,9 +1078,9 @@ class ModuleSSLOpenSSL : public Module
 
                        if ((user) && (user->eh.GetModHook(this)))
                        {
-                               // User is using SSL, they're a local user, and they're using one of *our* SSL ports.
-                               // Potentially there could be multiple SSL modules loaded at once on different ports.
-                               ServerInstance->Users->QuitUser(user, "SSL module unloading");
+                               // User is using TLS (SSL), they're a local user, and they're using one of *our* TLS (SSL) ports.
+                               // Potentially there could be multiple TLS (SSL) modules loaded at once on different ports.
+                               ServerInstance->Users->QuitUser(user, "OpenSSL module unloading");
                        }
                }
        }
@@ -1095,7 +1095,7 @@ class ModuleSSLOpenSSL : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Allows TLS encrypted connections using the OpenSSL library.", VF_VENDOR);
+               return Version("Allows TLS (SSL) encrypted connections using the OpenSSL library.", VF_VENDOR);
        }
 };