> From: Ralf S. Engelschall [mailto:[EMAIL PROTECTED]]
> 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.

Right, my mistake.  Don't know what I was thinking.
 
> > 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.

Thanks, that's what I needed to know.  I could see that was flex-generated
code, but I'm not familiar enough with flex to parse it out.

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

Reply via email to