Skip to content

Commit 6cdf275

Browse files
author
Teodor Moroz
committed
Remove MYSQL_OPT_SSL_VERIFY_SERVER_CERT for MariaDB tls required
1 parent d497312 commit 6cdf275

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

MySQLdb/_mysql.c

-1
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,6 @@ _mysql_ConnectionObject_Initialize(
498498
enforce_tls = 1;
499499
#ifdef MYSQL_OPT_SSL_ENFORCE
500500
mysql_optionsv(&(self->connection), MYSQL_OPT_SSL_ENFORCE, (void *)&enforce_tls);
501-
mysql_optionsv(&(self->connection), MYSQL_OPT_SSL_VERIFY_SERVER_CERT, (void *)&enforce_tls);
502501
#endif
503502
}
504503
}

0 commit comments

Comments
 (0)