diff options
author | Sadie Powell <sadie@witchery.services> | 2021-03-09 01:00:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-03-09 01:00:16 +0000 |
commit | 6c2b6fa23d3a65ecdcebbf9154b8daa2e55727e9 (patch) | |
tree | 5468dd9987050ed627fea9b7749dcf3c8027fb87 /src/modules/extra/m_ssl_mbedtls.cpp | |
parent | a670bd81f6b22e2cecf9a21cf8592bc0a1e7fb95 (diff) |
Add a subclass of IOHookProvider for SSL modules.
Diffstat (limited to 'src/modules/extra/m_ssl_mbedtls.cpp')
-rw-r--r-- | src/modules/extra/m_ssl_mbedtls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_ssl_mbedtls.cpp b/src/modules/extra/m_ssl_mbedtls.cpp index 9c2a535ae..77c81b7fa 100644 --- a/src/modules/extra/m_ssl_mbedtls.cpp +++ b/src/modules/extra/m_ssl_mbedtls.cpp @@ -817,13 +817,13 @@ class mbedTLSIOHook : public SSLIOHook bool IsHandshakeDone() const { return (status == ISSL_HANDSHAKEN); } }; -class mbedTLSIOHookProvider : public IOHookProvider +class mbedTLSIOHookProvider : public SSLIOHookProvider { mbedTLS::Profile profile; public: mbedTLSIOHookProvider(Module* mod, mbedTLS::Profile::Config& config) - : IOHookProvider(mod, "ssl/" + config.name, IOHookProvider::IOH_SSL) + : SSLIOHookProvider(mod, config.name) , profile(config) { ServerInstance->Modules->AddService(*this); |