In message <[EMAIL PROTECTED]> on Sat, 10 Aug 2002 
10:57:48 -0400 (EDT), Dan Kalowsky <[EMAIL PROTECTED]> said:

dank> I did some searching online and didn't find any mention of this, so if
dank> it's somewhere archived, please point me there.
dank> 
dank> I'm trying to fix a bug in the PHP --with-openssl flag, where the module
dank> is searching for the openssl.cnf file.  For more information see PHP Bug
dank> #18295 (http://bugs.php.net/bug.php?id=18295).
dank> 
dank> Is there an appropriate way/method, via C code, to identify where the
dank> openssl.cnf is if no env var is set?  Apparently the e_os.h #define, but
dank> we have been informed that this isn't really a good way to do things.
[...]
dank> Any suggestions or pointers are welcome.

The openssl application does that by concatenating the result from
X509_get_default_cert_area() with the string "/openssl.cnf".

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to