Commits
Christopher Chavez authored and Chris Jones committed a79f6dc9ad0
1 + | Ticket: https://trac.macports.org/ticket/56254 |
2 + | Upstream-Status: Backport [This change is present in recent versions of MySQL 5.7 and later.] |
3 + | --- mysql-5.6.39/sql-common/client_authentication.cc- 2018-04-08 18:42:13.000000000 -0400 |
4 + | +++ mysql-5.6.39/sql-common/client_authentication.cc 2018-04-08 19:19:37.000000000 -0400 |
5 + | |
6 + | |
7 + | if (mysql->options.extension != NULL && |
8 + | mysql->options.extension->server_public_key_path != NULL && |
9 + | - mysql->options.extension->server_public_key_path != '\0') |
10 + | + mysql->options.extension->server_public_key_path[0] != '\0') |
11 + | { |
12 + | pub_key_file= fopen(mysql->options.extension->server_public_key_path, |
13 + | "r"); |