Add support for ssl-verify-server-cert
MySQL database connector for Python programming
Brought to you by:
adustman
By default, MySQL doesn't verify the server certificate to ensure that it is talking to the server it tried to connect to. (Which defeats half the purpose of SSL.) This patch adds the ability to turn that MySQL option on. It's a patch against the distributed version MySQL-python-1.2.3. If the verify-server-cert option is not given to the MySQLdb constructor, then it will leave the option in its default state.
Patch to allow server verification