curl-users
Re: incompatible change in OpenSSL-0.9.6 (macro Free() in crypto.h)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 26 Sep 2000 07:54:55 +0200 (MET DST)
Date: Tue, 26 Sep 2000 07:54:55 +0200 (MET DST)
On Mon, 25 Sep 2000, Troy Engel wrote:
> > The attached patch is for whoever wants to build curl with OpenSSL 0.9.6
> > without waiting for the next release!
>
> Are we going to somehow test for Free() in autoconf, or add a macro
> definition, or something spiffy intelligent to help figure out which
> OpenSSL version we're up against? Incompatible changes are u-g-l-y.
No, there's no need for that. CRYPTO_free() turns out to be what the Free()
function used to expand into, and CRYPTO_free() is still available. So
CRYPTO_free() is what we'll use, nothing else. (The posted patch uses
OPENSSL_free() but that only works for 0.9.6)
Good thinking!
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2000-09-26