On Thu, Mar 23, 2000, Steve Kotsopoulos 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).

> The reference chapter of the mod_ssl user manual says they are
> available to SSI and CGI, but doesn't mention apache API plugins.

Yes, and that's especially why the stuff is explicitly called "user
manual" and not "developer manual" ;)
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to