[openssl-dev] Simple program to print openssl library version

Matt Caswell matt at openssl.org
Tue Jun 9 07:12:18 UTC 2015



On 09/06/15 06:08, Dhiraj Bhor wrote:
> Hi,
> 
> I am writing an application which will configure, make and copy
> libssl.so to custom location. Since tester does not know which version
> of openssl he is testing, i wanted to know that is there any api which
> will be used through C code to print openssl full version string.
> NOTE: i have only libssl.so, libcrypto.so with me while running the
> application.

See:

https://www.openssl.org/docs/crypto/OPENSSL_VERSION_NUMBER.html

You can also use the values defined in opensslv.h

Note: For future reference, openssl-users would be a better list for API
usage questions.

Matt



More information about the openssl-dev mailing list