On Thu, Mar 22, 2001, [EMAIL PROTECTED] wrote:

> Browsing through the mod_ssl source code, I notice that ssl_engine_config.c
> has a reference to stdin.  

Err... you mean ssl_expr_scan.c, I think. I see no reference to stdin
in ssl_engine_config.

> Unfortunately I don't know lex/flex well enough
> to understand why.  What's up?  When does mod_ssl need to read stdin?  
> 
> I know that the default SSLPassPhraseDialog setup will cause it to prompt
> for a pass phrase, but that's handled through OpenSSL calls
> (EVP_read_pw_string(), if I'm not mistaken).  This is something different.
> But what?  Thanks for any pointers.

mod_ssl doesn't read from stdin. The code is generated by Flex and only
used if the application doesn't provide a yyinput() function. But such
a function _IS_ provided by mod_ssl, so the scanner never uses stdin to
read the input data.
                                       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