Author: wyoung
Date: Fri Jun 27 06:22:45 2008
New Revision: 2297
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2297&view=rev
Log:
Fixed a copy-paste bug in SslOption that caused it to copy the wrong
value into all but one of the SSL parameters. This guaranteed that it
couldn't possibly work.
Modified:
trunk/lib/options.h
Modified: trunk/lib/options.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/options.h?rev=2297&r1=2296&r2=2297&view=diff
==============================================================================
--- trunk/lib/options.h (original)
+++ trunk/lib/options.h Fri Jun 27 06:22:45 2008
@@ -431,10 +431,10 @@
const char* cipher = 0)
{
if (key) key_.assign(key);
- if (cert) cert_.assign(key);
- if (ca) ca_.assign(key);
- if (capath) capath_.assign(key);
- if (cipher) cipher_.assign(key);
+ if (cert) cert_.assign(cert);
+ if (ca) ca_.assign(ca);
+ if (capath) capath_.assign(capath);
+ if (cipher) cipher_.assign(cipher);
}
private:
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits