Hi!
I'm working on OCSP building an mod_ocsp.
I would like to use a hook (using EAPI) in the ssl_engine_kernel.c so my
mod could execute the code i want to.
So i added in ssl_engine_kernel in ssl_callback_SSLVerify (before
return) the following line:
ap_hook_use( "ap::mod_ssl::callback_SSLVerify",
AP_HOOK_SIG3(ptr,ptr,ptr),
AP_HOOK_DECLINE(NULL),
&result, r);
And in my module in the function module initializer the folowing code:
#ifdef EAPI
ap_hook_register("ap::mod_ssl::callback_SSLVerify",
OCSPVerify,AP_HOOK_NOCTX);
#endif
And defined the function
char *OCSPVerify(request_rec *r, char *a) {
...
}
but the code inside this function is never executed.
The module is installed in apache (i run httpd -l) and modssl too.
Anyone can help me ?
Am i doing the ap_hook_use in the right place?
Am i doing well the ap_hook_register ?
Thanks in advance,
Renato Portela
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]