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)'.)


-- 
Bodo M�ller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to