diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-11-12 01:52:46 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-11-12 01:52:46 +0000 |
commit | e6e4c45a2a271a9e8580936862ceb86eaa406790 (patch) | |
tree | ee1efea8b5964dabda9dd0f6ffb3ccf4e6ce4ed2 /src/include/libpq/crypt.h | |
parent | 75bb1e6f5d269e2a09c5bc094a984202bb3f7725 (diff) |
Add comments of duplicate definitions in interfaces/odbc/md5.h.
Diffstat (limited to 'src/include/libpq/crypt.h')
-rw-r--r-- | src/include/libpq/crypt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/libpq/crypt.h b/src/include/libpq/crypt.h index 6a7b06ce120..458be1fd2cf 100644 --- a/src/include/libpq/crypt.h +++ b/src/include/libpq/crypt.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: crypt.h,v 1.18 2001/11/05 17:46:33 momjian Exp $ + * $Id: crypt.h,v 1.19 2001/11/12 01:52:46 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,6 +17,7 @@ #define CRYPT_PWD_FILE_SEPSTR "\t" +/* Also defined in interfaces/odbc/md5.h */ #define MD5_PASSWD_LEN 35 #define isMD5(passwd) (strncmp((passwd),"md5",3) == 0 && \ @@ -30,6 +31,7 @@ extern int md5_crypt_verify(const Port *port, const char *user, const char *pgpass); extern bool md5_hash(const void *buff, size_t len, char *hexsum); extern bool CheckMD5Pwd(char *passwd, char *storedpwd, char *seed); +/* Also defined in interfaces/odbc/md5.h */ extern bool EncryptMD5(const char *passwd, const char *salt, size_t salt_len, char *buf); |