10 messages in com.mysql.lists.plusplusRe: SSL Connection error
FromSent OnAttachments
fred ouille28 Feb 2007 02:34 
Warren Young28 Feb 2007 04:57 
fred ouille28 Feb 2007 06:20 
Warren Young28 Feb 2007 06:25 
fred ouille28 Feb 2007 08:34 
Warren Young28 Feb 2007 09:48 
fred ouille02 Mar 2007 03:40 
Warren Young02 Mar 2007 14:15 
fred ouille02 Mar 2007 14:19 
fred ouille06 Mar 2007 07:01 
Subject:Re: SSL Connection error
From:fred ouille (ochf@hotmail.com)
Date:03/02/2007 03:40:12 AM
List:com.mysql.lists.plusplus

Hi Warren, thanks for your answers again.

I used ethereal to sniff the connexion between my program and the server and information are unreadable. I also did this without using SSL and information were readable, conclusion : it works.

I searched mysql++ files to see what happens and I found this in connection.cpp :

void Connection::enable_ssl(const char* key, const char* cert, const char* ca, const char* capath, const char* cipher) { #if defined(HAVE_MYSQL_SSL_SET) mysql_ssl_set(&mysql_, key, cert, ca, capath, cipher); #endif }

If I understand well this code, the function mysql_ssl_set() will be used only if HAVE_MYSQL_SSL_SET is defined.....But this flag never appear anywhere else in this file or in another one, it is never defined.

Is it an error in mysql++ code or do I must define this flag in my own code ? I think I'm going to try to change connection.cpp and recompile the library, I'll let you know the result.

_________________________________________________________________ Gagnez des écrans plats avec Live.com http://www.image-addict.fr/