aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.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/interfaces/libpq/fe-auth.c
parent5c9a46f6053a7d2b7ceb3688d665be1c27acbb15 (diff)
downloadpostgresql-6840cccd11490a9db4f98fbf9209ddf7662866a6.tar.gz
postgresql-6840cccd11490a9db4f98fbf9209ddf7662866a6.zip
Rename pg_make_encrypted_password to PQencryptPassword.
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r--src/interfaces/libpq/fe-auth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index 039964a9fe5..2f80b43dbbd 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -10,7 +10,7 @@
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.109 2005/12/23 01:16:38 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.110 2005/12/26 14:58:05 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -534,7 +534,7 @@ pg_fe_getauthname(char *PQerrormsg)
/*
- * pg_make_encrypted_password -- exported routine to encrypt a password
+ * PQencryptPassword -- exported routine to encrypt a password
*
* This is intended to be used by client applications that wish to send
* commands like ALTER USER joe PASSWORD 'pwd'. The password need not
@@ -548,11 +548,11 @@ pg_fe_getauthname(char *PQerrormsg)
* is for.
*
* Return value is a malloc'd string, or NULL if out-of-memory. The client
- * may assume the string doesn't contain any weird characters that would
+ * may assume the string doesn't contain any special characters that would
* require escaping.
*/
char *
-pg_make_encrypted_password(const char *passwd, const char *user)
+PQencryptPassword(const char *passwd, const char *user)
{
char *crypt_pwd;