1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-04 20:11:56 +03:00

Allow 'password' encryption even when pg_shadow has MD5 passwords, per

report from Terry Yapt and Hiroshi.

Backpatch to 7.3.
This commit is contained in:
Bruce Momjian
2002-12-05 18:39:43 +00:00
parent 1fd0c59e25
commit 44ab596b01
2 changed files with 24 additions and 8 deletions

View File

@@ -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.23 2002/12/05 18:39:43 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);