1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

Remove useless cast

This commit is contained in:
Peter Eisentraut
2012-02-26 15:31:16 +02:00
parent 66f0cf7da8
commit b5c077c368

View File

@ -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);