summaryrefslogtreecommitdiff
path: root/src/include/libpq/crypt.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-12-05 18:40:08 +0000
committerBruce Momjian <bruce@momjian.us>2002-12-05 18:40:08 +0000
commit24536e5b3f3d860ed4e3f28c91c51efca0aaee5e (patch)
treea2600105ae6590ab5bf51729690d21ac0aa3f0c6 /src/include/libpq/crypt.h
parent0ea3b7b86fc2f4098460a4596c3a3ee82e772dc2 (diff)
Allow 'password' encryption even when pg_shadow has MD5 passwords, per
report from Terry Yapt and Hiroshi. Backpatch to 7.3.
Diffstat (limited to 'src/include/libpq/crypt.h')
-rw-r--r--src/include/libpq/crypt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/crypt.h b/src/include/libpq/crypt.h
index 246ab0bd66b..78ed4b07071 100644
--- a/src/include/libpq/crypt.h
+++ b/src/include/libpq/crypt.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: crypt.h,v 1.22 2002/09/04 20:31:42 momjian Exp $
+ * $Id: crypt.h,v 1.22.2.1 2002/12/05 18:40:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -23,7 +23,7 @@
extern int md5_crypt_verify(const Port *port, const char *user,
- const char *pgpass);
+ char *pgpass);
extern bool md5_hash(const void *buff, size_t len, char *hexsum);
extern bool CheckMD5Pwd(char *passwd, char *storedpwd, char *seed);