Hi, On Mon, Apr 14, 2014 at 09:12:05AM +0200, Jan Just Keijser wrote: > >- how do I get the library version for PolarSSL? > void version_get_string_full( char *string )
I really wonder what they smoked when designing this API... /** * Get the full version string ("PolarSSL x.y.z"). * * \param string The string that will receive the value. * (Should be at least 18 bytes in size) */ void version_get_string_full( char *string ); "pass me a pointer to a string, don't pass me a length field, and there's no real way you can be sure whatever you use is long enough"... Anyway. Patch coming. 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
pgpZ4ptm_0GSN.pgp
Description: PGP signature