Skip to content

Commit

Permalink
Remove MYSQL_OPT_SSL_VERIFY_SERVER_CERT for MariaDB tls required
Browse files Browse the repository at this point in the history
  • Loading branch information
Teodor Moroz committed Jun 2, 2022
1 parent d497312 commit 6cdf275
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion MySQLdb/_mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ _mysql_ConnectionObject_Initialize(
enforce_tls = 1;
#ifdef MYSQL_OPT_SSL_ENFORCE
mysql_optionsv(&(self->connection), MYSQL_OPT_SSL_ENFORCE, (void *)&enforce_tls);
mysql_optionsv(&(self->connection), MYSQL_OPT_SSL_VERIFY_SERVER_CERT, (void *)&enforce_tls);
#endif
}
}
Expand Down

0 comments on commit 6cdf275

Please sign in to comment.