Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6cdf275

Browse files
author
Teodor Moroz
committedJun 2, 2022
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

Lines changed: 0 additions & 1 deletion
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)
Please sign in to comment.