"Ralf S. Engelschall" wrote:
> > Are the environment variables (such as SSL_CLIENT_CERT
> > and SSL_CIPHER_USEKEYSIZE) available to apache C module writers?
> > If not, is there another mechanism to look them up?
> 
> If your module processes in a late API phase (after fixup or in fixup
> after mod_ssl), the variables are part of r->subprocess_env. If you
> need the variables earlier, you've to use EAPI and query mod_ssl's
> ap::mod_ssl::var_lookup hook (see ssl_engine_vars.c for details).

Are there any good examples or docs on using these hooks?
If I was living inside mod_ssl, I'd use something such as:

 val = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CLIENT_CERT");

But I'm not sure how to use apache hooks to do the equivalent
thing from an access-control-phase apache module.

Thanks

        Steve
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to