Ticket #56254: patch_client_authentication.cc.diff

File patch_client_authentication.cc.diff, 553 bytes (added by josephsacco, 7 years ago)

mysql-common/client_authentication.cc diff

  • mysql-5.6.39/sql-common/client_authentication.

    old new  
    8484
    8585  if (mysql->options.extension != NULL &&
    8686      mysql->options.extension->server_public_key_path != NULL &&
    87       mysql->options.extension->server_public_key_path != '\0')
     87      mysql->options.extension->server_public_key_path[0] != '\0')
    8888  {
    8989    pub_key_file= fopen(mysql->options.extension->server_public_key_path,
    9090                        "r");