diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-05-24 19:34:25 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-07 01:00:10 +0200 |
commit | 79db1cf848c64ba50bebadef4c683ae4237080b7 (patch) | |
tree | fcaed0d8034d5e750de24cb1cd9ee87570816d66 /include/modules | |
parent | f2febe8ff61766f1b57305fae873071de4526d58 (diff) |
Create IOHook interface (extracted from Module)
Diffstat (limited to 'include/modules')
-rw-r--r-- | include/modules/ssl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules/ssl.h b/include/modules/ssl.h index a79dcc9ef..a45121537 100644 --- a/include/modules/ssl.h +++ b/include/modules/ssl.h @@ -22,6 +22,7 @@ #include <map> #include <string> +#include "iohook.h" /** ssl_cert is a class which abstracts SSL certificate * and key information. @@ -138,7 +139,7 @@ struct SocketCertificateRequest : public Request ssl_cert* cert; SocketCertificateRequest(StreamSocket* ss, Module* Me) - : Request(Me, ss->GetIOHook(), "GET_SSL_CERT"), sock(ss), cert(NULL) + : Request(Me, (ss->GetIOHook() ? (Module*)ss->GetIOHook()->creator : NULL), "GET_SSL_CERT"), sock(ss), cert(NULL) { Send(); } |