mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Rename pg_make_encrypted_password to PQencryptPassword.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.25 2005/12/23 01:16:38 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.26 2005/12/26 14:58:05 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -251,7 +251,7 @@ main(int argc, char *argv[])
|
||||
{
|
||||
char *encrypted_password;
|
||||
|
||||
encrypted_password = pg_make_encrypted_password(newpassword,
|
||||
encrypted_password = PQencryptPassword(newpassword,
|
||||
newuser);
|
||||
if (!encrypted_password)
|
||||
{
|
||||
|
Reference in New Issue
Block a user