On Wed, Feb 20, 2002 at 03:07:16PM +0100, [EMAIL PROTECTED] wrote: > Log: > Including openssl/e_os.h in the OpenSSL 0.9.6 branch is legal, since > it's exported. Changing that is a BIG step, which has been done in > 0.9.7-dev. > > Revision Changes Path > 1.214 +1 -5 openssl/STATUS > > Index: STATUS > =================================================================== > RCS file: /e/openssl/cvs/openssl/STATUS,v > retrieving revision 1.213 > retrieving revision 1.214 > diff -u -r1.213 -r1.214 > --- STATUS 2002/02/20 13:19:59 1.213 > +++ STATUS 2002/02/20 14:07:07 1.214 > @@ -1,6 +1,6 @@ > > OpenSSL STATUS Last modified at > - ______________ $Date: 2002/02/20 13:19:59 $ > + ______________ $Date: 2002/02/20 14:07:07 $ > > DEVELOPMENT STATE > > @@ -67,10 +67,6 @@ > o 'openssl speed' should include AES support (0.9.7-dev) > > o apps/ca.c: "Sign the certificate?" - "n" creates empty certificate file > - > - o OpenSSL_0_9_6-stable: > - #include <openssl/e_os.h> in exported header files is illegal since > - e_os.h is suitable only for library-internal use. >
While e_os.h is installed as a header file in the 0.9.6 branch and thus is available to applications that *want* to use it, it is meant only for internal use, so it should not be '#include'd if not *explicitly requested* by the application. If an application wants e_os.h, fair enough -- but otherwise the stuff in e_os.h may break applications. That's what that entry was about. The problem with 0.9.6-stable is that '#include <openssl/e_os.h>' was added to conf.h, <openssl/conf.h> being automatically included by x509v3.h. I consider this a bug: Writing '#include <openssl/x509v3.h>' in the application sourcecode does not mean that you want an EXIT(n) macro to be defined, to name one example. -- Bodo Möller <[EMAIL PROTECTED]> PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]