Commit b5c077c3 authored by Peter Eisentraut's avatar Peter Eisentraut

Remove useless cast

parent 66f0cf7d
......@@ -89,7 +89,7 @@ md5_crypt_verify(const Port *port, const char *role, char *client_pass)
{
/* stored password already encrypted, only do salt */
if (!pg_md5_encrypt(shadow_pass + strlen("md5"),
(char *) port->md5Salt,
port->md5Salt,
sizeof(port->md5Salt), crypt_pwd))
{
pfree(crypt_pwd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment