aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/crypt.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-07-04 16:32:01 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-07-04 16:32:01 +0000
commit554e56e6280f380f1c55d487aa4b8ea75fa4daad (patch)
tree770d0c47edcf9fa360ef98fde8a75b926803cfa3 /src/backend/libpq/crypt.c
parent1c2f735aa76f2e4bccb02de1cbc7fcc584a35e87 (diff)
downloadpostgresql-554e56e6280f380f1c55d487aa4b8ea75fa4daad.tar.gz
postgresql-554e56e6280f380f1c55d487aa4b8ea75fa4daad.zip
Expand secondary password file feature, so that you can use these
files to restrict the set of users that can connect to a database but can still use the pg_shadow password. (You just leave off the password field in the secondary file.)
Diffstat (limited to 'src/backend/libpq/crypt.c')
-rw-r--r--src/backend/libpq/crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c
index 38b8e0ed383..8b9eace73ef 100644
--- a/src/backend/libpq/crypt.c
+++ b/src/backend/libpq/crypt.c
@@ -9,7 +9,7 @@
* Dec 17, 1997 - Todd A. Brandys
* Orignal Version Completed.
*
- * $Id: crypt.c,v 1.26 2000/07/03 20:48:30 petere Exp $
+ * $Id: crypt.c,v 1.27 2000/07/04 16:31:53 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -249,7 +249,7 @@ crypt_getloginfo(const char *user, char **passwd, char **valuntil)
/*-------------------------------------------------------------------------*/
int
-crypt_verify(Port *port, const char *user, const char *pgpass)
+crypt_verify(const Port *port, const char *user, const char *pgpass)
{
char *passwd,