cURL / Mailing Lists / curl-users / Single Mail

curl-users

incompatible change in OpenSSL-0.9.6 (macro Free() in crypto.h)

From: Erdmut Pfeifer <e.pfeifer_at_science-computing.de>
Date: Mon, 25 Sep 2000 17:10:59 +0200

Hello,

while trying to build curl-7.2.1 with the new OpenSSL-0.9.6 library
I had a problem with an undeclared symbol "Free" being reported from the
curl-library when trying to run curl.

I tracked the problem down to be caused by an incompatible change in
OpenSSL-crypto.h file. In the previous version (0.9.5a) there was a line

  #define Free(addr) CRYPTO_free(addr) // line 258

that now reads

  #define OPENSSL_free(addr) CRYPTO_free(addr) // line 270

This macro is used in ssluse.c from the curl package.
When substituting the new name there, everything seems to work fine
so far.

(the relevant section in crypto.h was marked "for library-internal use",
so the OpenSSL guys cannot really be blamed ;-)

Anyway, thanks for this great tool!

Best,
Erdmut

-- 
Erdmut Pfeifer
science+computing gmbh
-- Bugs come in through open windows. Keep Windows shut! --
Received on 2000-09-25