Hi, On Tue, Jan 22, 2013 at 08:44:32AM +0100, Adriaan de Jong wrote: > > > +#ifdef POLARSSL_ERROR_C > > > + char error_message[1024]; > > > +#endif > > PolarSSL can be made really small, by disabling modules. For example, > detailed error reporting can be disabled with that flag in > <polarssl/config.h>.
OK, that explains things. I'm not sure I'm happy with the implied consequences - this is a build-time decision that depends on a *shared* library, so depending on package building and installation, we could end up with a reference to a symbol that's not there in the installed shared library... > We can always say that we demand error.c to be enabled, but I'm > not sure how happy embedded developers would be with that decision. > I'm pretty much ambivalent in this discussion and will follow the > general opinion :). From OpenVPN's point of view, always having the function in PolarSSL, even if it's only returning an empty string (=small build) would make our life much easier... gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgpVOihqHENXx.pgp
Description: PGP signature