In message <[email protected]> on 
Wed, 24 Nov 2010 11:27:12 +0530, Muhammed Shafeek <[email protected]> said:

shafeek76> How can I identify the exact openssl version from libssl.
shafeek76> I've a server using libssl.so.0.9.8. I want to know the exact patch 
version
shafeek76> (eg: 0.9.8j or 0.9.8k) from the lib.
shafeek76> Is it possible?

If you use the corresponding crypto library (OpenSSL normally delivers
libcrypto and libssl, so you want to use libcrypto), you can use the
following routine to get the exact version information:

  SSLeay()
        Returns a numeric representation of the version, see comments
        in <openssl/opensslv.h> for exact numeric details.
  SSLeay_version(SSLEAY_VERSION)
        Returns the text representation of the version, including
        patch level.

Cheers,
Richard

-- 
Richard Levitte                         [email protected]
                                        http://richard.levitte.org/

"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to