mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Remove useless cast
This commit is contained in:
@ -89,7 +89,7 @@ md5_crypt_verify(const Port *port, const char *role, char *client_pass)
|
|||||||
{
|
{
|
||||||
/* stored password already encrypted, only do salt */
|
/* stored password already encrypted, only do salt */
|
||||||
if (!pg_md5_encrypt(shadow_pass + strlen("md5"),
|
if (!pg_md5_encrypt(shadow_pass + strlen("md5"),
|
||||||
(char *) port->md5Salt,
|
port->md5Salt,
|
||||||
sizeof(port->md5Salt), crypt_pwd))
|
sizeof(port->md5Salt), crypt_pwd))
|
||||||
{
|
{
|
||||||
pfree(crypt_pwd);
|
pfree(crypt_pwd);
|
||||||
|
Reference in New Issue
Block a user