summaryrefslogtreecommitdiff
path: root/src/include/common/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/common/md5.h')
-rw-r--r--src/include/common/md5.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/common/md5.h b/src/include/common/md5.h
index bbd2ec0165d..942ca4242c7 100644
--- a/src/include/common/md5.h
+++ b/src/include/common/md5.h
@@ -26,9 +26,12 @@
#define MD5_PASSWD_LEN 35
/* Utilities common to all the MD5 implementations, as of md5_common.c */
-extern bool pg_md5_hash(const void *buff, size_t len, char *hexsum);
-extern bool pg_md5_binary(const void *buff, size_t len, void *outbuf);
+extern bool pg_md5_hash(const void *buff, size_t len, char *hexsum,
+ const char **errstr);
+extern bool pg_md5_binary(const void *buff, size_t len, void *outbuf,
+ const char **errstr);
extern bool pg_md5_encrypt(const char *passwd, const char *salt,
- size_t salt_len, char *buf);
+ size_t salt_len, char *buf,
+ const char **errstr);
#endif /* PG_MD5_H */