mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Remove useless cast
This commit is contained in:
parent
66f0cf7da8
commit
b5c077c368
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user