Recent openssl is required for OPENSSL_free [Re: Please test snapshots for 3.0 release] (fwd)

Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
Tue Oct 30 23:18:26 EST 2001

On Tue, Oct 30, 2001 at 10:25:21PM +1100, Damien Miller wrote:
> > I just had a look into the source. Since BN_bn2dec() really allocates
> > the buffer itself (using OPENSSL_malloc() in recent versions), there is
> > nothing an application writer can do with respect to this inconsistency.
> > (For all OpenSSL special data types, TYPE_new() and TYPE_free() exist.)
> > The only thing that could be done is to query the version defined in
> > opensslv.h and based on that make a #if OPENSSL_VERSION_NUMBER construct.
> Can people try this patch?

Seems to make sense; testcompilation with 0.9.6b succeeded... (still waiting
for 0.9.5 report)

Best regards,
Lutz Jaenicke                             Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153

More information about the openssh-unix-dev mailing list