Lines 1-17
Link Here
|
1 |
sql-common/client_authentication.cc:87:56: error: comparison between pointer and integer ('char *' and 'int') |
|
|
2 |
mysql->options.extension->server_public_key_path != '\0') |
3 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ |
4 |
|
5 |
Part of https://github.com/mysql/mysql-server/commit/db1bde79b1b4 |
6 |
|
7 |
--- sql-common/client_authentication.cc.orig 2017-09-13 15:49:17 UTC |
8 |
+++ sql-common/client_authentication.cc |
9 |
@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql) |
10 |
|
11 |
if (mysql->options.extension != NULL && |
12 |
mysql->options.extension->server_public_key_path != NULL && |
13 |
- mysql->options.extension->server_public_key_path != '\0') |
14 |
+ mysql->options.extension->server_public_key_path[0] != '\0') |
15 |
{ |
16 |
pub_key_file= fopen(mysql->options.extension->server_public_key_path, |
17 |
"r"); |