summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-13 23:16:34 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-13 23:16:34 +0000
commitc0487eae4c730f2b607b397fcb0bb7a6db7d7f4f (patch)
tree78bfec951bab7b1bbc7a38ef64a0be89cfad828f /src
parent284c22b4b5db3db2b2a84f255edc5b071dbe367f (diff)
Fix bug #779, SSL metadata sent using the wrong case. Thanks HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11213 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp2
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 6ee30ecfb..6d8b6e366 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -696,7 +696,7 @@ class ModuleSSLGnuTLS : public Module
if (user->GetIOHook() == this && (IS_LOCAL(user)))
{
// Tell whatever protocol module we're using that we need to inform other servers of this metadata NOW.
- ServerInstance->PI->SendMetaData(user, TYPE_USER, "SSL", "on");
+ ServerInstance->PI->SendMetaData(user, TYPE_USER, "ssl", "on");
VerifyCertificate(&sessions[user->GetFd()],user);
if (sessions[user->GetFd()].sess)
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index b5a2741f9..d49752bd7 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -778,7 +778,7 @@ class ModuleSSLOpenSSL : public Module
if ((user->GetIOHook() == this) && (IS_LOCAL(user)))
{
// Tell whatever protocol module we're using that we need to inform other servers of this metadata NOW.
- ServerInstance->PI->SendMetaData(user, TYPE_USER, "SSL", "on");
+ ServerInstance->PI->SendMetaData(user, TYPE_USER, "ssl", "on");
VerifyCertificate(&sessions[user->GetFd()], user);
if (sessions[user->GetFd()].sess)