Bodo Moeller wrote:
>
> On Thu, Sep 06, 2001 at 03:08:09PM +0100, Ben Laurie wrote:
> > [EMAIL PROTECTED] wrote:
>
> >> - free((char *)(ENGINE_get_id(block[loop])));
> >> - free((char *)(ENGINE_get_name(block[loop])));
> >> + OPENSSL_free((char *)(ENGINE_get_id(block[loop])));
> >> + OPENSSL_free((char *)(ENGINE_get_name(block[loop])));
>
> > Why the casts?
>
> I simply replaced free() by OPENSSL_free() without even looking at the
> arguments, so the question goes back to you. ('free', just like
> 'OPENSSL_free', is 'void (*)(void *ptr)'.)
I don't see why it goes back to me, I didn't write the code! Anyway, I
wasn't aiming the question at you particularly.
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]