aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createuser.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2005-12-26 14:58:06 +0000
committerPeter Eisentraut <peter_e@gmx.net>2005-12-26 14:58:06 +0000
commit6840cccd11490a9db4f98fbf9209ddf7662866a6 (patch)
tree38bafac7856655138a24633f17ab3964312d9d83 /src/bin/scripts/createuser.c
parent5c9a46f6053a7d2b7ceb3688d665be1c27acbb15 (diff)
downloadpostgresql-6840cccd11490a9db4f98fbf9209ddf7662866a6.tar.gz
postgresql-6840cccd11490a9db4f98fbf9209ddf7662866a6.zip
Rename pg_make_encrypted_password to PQencryptPassword.
Diffstat (limited to 'src/bin/scripts/createuser.c')
-rw-r--r--src/bin/scripts/createuser.c4
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)
{