summaryrefslogtreecommitdiff
path: root/modules/extra/m_sasl_dh-blowfish.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_sasl_dh-blowfish.cpp')
-rw-r--r--modules/extra/m_sasl_dh-blowfish.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/extra/m_sasl_dh-blowfish.cpp b/modules/extra/m_sasl_dh-blowfish.cpp
index c8ea020d5..1bfd50173 100644
--- a/modules/extra/m_sasl_dh-blowfish.cpp
+++ b/modules/extra/m_sasl_dh-blowfish.cpp
@@ -21,10 +21,10 @@ class DHBS : public Mechanism
}
public:
- struct Session : SASL::Session
+ struct DHBSSession : SASL::Session
{
DH* dh;
- Session(Mechanism *m, const Anope::string &u, DH* dh_params) : SASL::Session(m, u)
+ DHBSSession(Mechanism *m, const Anope::string &u, DH* dh_params) : SASL::Session(m, u)
{
if (!(dh = DH_new()))
return;
@@ -39,7 +39,7 @@ class DHBS : public Mechanism
}
}
- ~Session()
+ ~DHBSSession()
{
if (dh)
DH_free(dh);
@@ -50,7 +50,7 @@ class DHBS : public Mechanism
const size_t keysize;
SASL::Session* CreateSession(const Anope::string &uid) anope_override
{
- return new Session(this, uid, dh_params);
+ return new DHBSSession(this, uid, dh_params);
}
DHBS(Module *o) : Mechanism(o, "DH-BLOWFISH"), keysize(256 / 8)
@@ -72,7 +72,7 @@ class DHBS : public Mechanism
void ProcessMessage(SASL::Session *session, const SASL::Message &m) anope_override
{
- Session *sess = anope_dynamic_static_cast<Session *>(session);
+ DHBSSession *sess = anope_dynamic_static_cast<DHBSSession *>(session);
if (!sess->dh)
{