You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
603 B
14 lines
603 B
diff --git a/sql-common/client_authentication.cc b/sql-common/client_authentication.cc
|
|
index eaeb2d4..035ecd2 100644
|
|
--- a/sql-common/client_authentication.cc
|
|
+++ b/sql-common/client_authentication.cc
|
|
@@ -84,7 +84,7 @@ RSA *rsa_init(MYSQL *mysql)
|
|
|
|
if (mysql->options.extension != NULL &&
|
|
mysql->options.extension->server_public_key_path != NULL &&
|
|
- mysql->options.extension->server_public_key_path != '\0')
|
|
+ mysql->options.extension->server_public_key_path[0] != '\0')
|
|
{
|
|
pub_key_file= fopen(mysql->options.extension->server_public_key_path,
|
|
"r");
|