diff options
Diffstat (limited to 'src/bin/scripts/createuser.c')
-rw-r--r-- | src/bin/scripts/createuser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c index 9bd7d8d873c..03896583d3e 100644 --- a/src/bin/scripts/createuser.c +++ b/src/bin/scripts/createuser.c @@ -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) { |