On Sun, Feb 28, 2010, NARUSE, Yui wrote: > (2010/01/15 22:41), NARUSE, Yui via RT wrote: > > You know, VCWIN-32 doesn't have ssize_t, > > and e_os.h defines ssize_t as long for VCWIN-32. > > > > But crypto/cms/cms.h and related files don't include it > > and raise error. > > So they must include it or define it by themselves. > > This is not fixed yet in 0.9.8m. > A patch can be following: > > Index: crypto/cms/cms.h > =================================================================== > RCS file: /v/openssl/cvs/openssl/crypto/cms/cms.h,v > retrieving revision 1.29 > diff -u -p -r1.29 cms.h > --- crypto/cms/cms.h 26 Nov 2009 18:57:39 -0000 1.29 > +++ crypto/cms/cms.h 28 Feb 2010 03:58:37 -0000 > @@ -56,6 +56,7 @@ > #define HEADER_CMS_H > > #include <openssl/x509.h> > +#include "e_os.h" > > #ifdef OPENSSL_NO_CMS > #error CMS is disabled. >
0.9.8m does not use ssize_t in public headers. The only affected code is HEAD which wont appear in any official releases for some time. If it was simply a case of inlcude e_os.h it would've been fixed by now: unfortunately e_os.h is an internal only header file which contains things we don't want exposed at an application level, so something in e_os2.h will need to be done instead. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
