I compiled a program with a static library libpolarssl.a
I would like to create a README
with the library version.
Is there a programmatic way to get the version of this library?
I compiled a program with a static library libpolarssl.a
I would like to create a README
with the library version.
Is there a programmatic way to get the version of this library?
Polar SSL has an internal version number and the wrappers to export it to your application, see:
http://polarssl.org/apidoc/version_8h.html
// Get the version number
unsigned int version_get_number(void);
// Get the version string ("x.y.z")
void version_get_string(char *string);
// Get the full version string ("PolarSSL x.y.z")
void version_get_string_full(char *string);
Easy right?