cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: OpenSSL version number

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 4 Jun 2001 19:18:12 +0200 (MET DST)

On Sun, 3 Jun 2001, SM wrote:

> >> curl 7.7.3 (win32) libcurl 7.7.3 (OpenSSL 0.9.6)
>
> I get the same string after I compiled Curl (win32) using OpenSSL 0.9.6a.

...

> There is the following define in opensslv.h SHLIB_VERSION_NUMBER "0.9.6".
> The OPENSSL_VERSION_TEXT shows up as "OpenSSL 0.9.6a 5 Apr 2001".

But curl uses SSLEAY_VERSION_NUMBER which is the same
as the OPENSSL_VERSION_NUMBER define, which in my OpenSSL 0.9.6a
openssl/opensslv.h file looks like:

#define OPENSSL_VERSION_NUMBER 0x0090601fL

How does yours look like?

The line (41) in curl/lib/version.c that then takes affect looks like:

#if (SSLEAY_VERSION_NUMBER >= 0x906000)

... and then it sets up the rest...

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
Received on 2001-06-04