Mixmaster wrote:
>
> Erik Johannisson <[EMAIL PROTECTED]> wrote:
> > in ex_data.c,line 190:
> > m->free_func(obj,ptr,ad,i,m->argl,m->argp);
> >
> > in crypto.h, line 174, the free_func is defined as:
> > void (*free_func)
> > (/*char *obj,char *item,int index,long argl,char *argp*/);
> >
> > So the actual call is made with to many paramteters.
> >
> > think that you should remove the ad pointer from the call
> > because I can't see what it's good for.
>
> ... and also uncomment the args in the prototype so the
> compiler will whine if the args are wrong anywhere else.
Agree partially. The prototypes need uncommenting out and all those
"pointer to anything" references that are (char *) need to be (void *)
(this is from OpenSSLs pre-ANSI days) but 'ad' should stay and the
prototype fixed.
I suppose 'ad' could be used if the free function wants to refer to some
ex_data value in deciding what to free.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]