On Thu, Nov 10, 2005 at 12:30:23PM -0500, Dave Brooks wrote:
> The only mysql_ssl_set(...) in mysql.h is defined as:
>
> #ifdef HAVE_OPENSSL
> int STDCALL mysql_ssl_set(MYSQL *mysql, const char *key,
> const char *cert, const char *ca,
> const char *capath);
>
> #endif /* HAVE_OPENSSL */
>
> Yours has an extra char*, is there another definition somewhere I am
> missing?
Looks like you found a bug. :-)
> I don't plan to use ssl, and the code will compile if I comment out this
> call. Would that effect anything else that I am not aware of? Taking out
> the extra arg didn't help, the error remained the same.
Try changing your config.h manually to disable HAVE_OPENSSL. There might
be a --disable-openssl in configure, but I don't have a machine in front
of me to check. That would be the best way.
- Chris