summaryrefslogtreecommitdiff
path: root/src/include/libpq/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/libpq/crypt.h')
-rw-r--r--src/include/libpq/crypt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/libpq/crypt.h b/src/include/libpq/crypt.h
index 86b9f2497c5..bec71ca168b 100644
--- a/src/include/libpq/crypt.h
+++ b/src/include/libpq/crypt.h
@@ -26,7 +26,8 @@ extern int md5_crypt_verify(const Port *port, const char *user, const char *pgpa
extern bool md5_hash(const void *buff, size_t len, char *hexsum);
extern bool CheckMD5Pwd(char *passwd, char *storedpwd, char *seed);
-extern bool EncryptMD5(const char *passwd, const char *salt, char *buf);
+extern bool EncryptMD5(const char *passwd, const char *salt,
+ size_t salt_len, char *buf);
#define MD5_PASSWD_LEN 35