RE: C API to determine OpenSSL version?

2012-09-05 Thread Jahn, Gerhard

Hi Charles,


I'm using

SSLeay_version(SSLEAY_VERSION)

in my app. 

This returns a human readable string containing the OpsnSSL version like:

OpenSSL 1.0.1c 10 May 2012


Mit freundlichen Gr??en/Regards 
-

Gerhard Jahn
Tel.: +49 (89) 636-44657
Tel.: +49 (211) 399 22891
Fax: +49 (89) 636-45860 
mailto:gerhard.j...@atos.net 
Otto-Hahn-Ring 6
81739 M?nchen, Deutschland
Germany
www.atos.net

Atos IT Solutions and Services GmbH
Gesch?ftsf?hrung: Winfried Holz, Udo Littke;  Vorsitzender des Aufsichtsrats: 
Charles Dehelly; 
Sitz der Gesellschaft: M?nchen, Deutschland; Registergericht: M?nchen, HRB 
184933. 

Atos IT Solutions and Services GmbH, Legal Form: Limited Liability Company 
[GmbH]; 
Managing Directors: Winfried Holz, Udo Littke; Chairman of the Supervisory 
Board: Charles Dehelly; 
Registered Office: Munich, Germany; District Court: Munich, HRB 184933. 

 

 -Original Message-
 From: owner-openssl-us...@openssl.org 
 [mailto:owner-openssl-us...@openssl.org] On Behalf Of Charles Mills
 Sent: Tuesday, September 04, 2012 11:23 PM
 To: openssl-users@openssl.org
 Subject: C API to determine OpenSSL version?
 
 Is there a C-callable function that an application may call 
 to determine the version of the OpenSSL library with which it 
 is linked?
 
 Thanks,
 
 Charles 
 
 
 __
 OpenSSL Project http://www.openssl.org
 User Support Mailing Listopenssl-users@openssl.org
 Automated List Manager   majord...@openssl.org
 
 __
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Re: C API to determine OpenSSL version?

2012-09-04 Thread TJ Saunders

 Is there a C-callable function that an application may call to determine the
 version of the OpenSSL library with which it is linked?

See the SSLeay() and SSLeay_version() functions, depending on whether you 
wish to retrieve a long containing the version, or a textual string.

Hope this helps,
TJ

~

   No day in which something is learned is ever wasted.

 -TJ Saunders

~
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


RE: C API to determine OpenSSL version?

2012-09-04 Thread Charles Mills
Never mind. Found it:

http://www.openssl.org/docs/crypto/SSLeay_version.html

Hard to search for. Google SSL version and you get a lot of irrelevant
hits.

Charles

-Original Message-
From: owner-openssl-us...@openssl.org
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Charles Mills
Sent: Tuesday, September 04, 2012 2:23 PM
To: openssl-users@openssl.org
Subject: C API to determine OpenSSL version?

Is there a C-callable function that an application may call to determine the
version of the OpenSSL library with which it is linked?

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org