mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 19:19:02 -04:00
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
This commit is contained in:
parent
284c22b4b5
commit
c0487eae4c
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user