aboutsummaryrefslogtreecommitdiff
path: root/lib/libcrypt/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypt/crypt.h')
-rw-r--r--lib/libcrypt/crypt.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcrypt/crypt.h b/lib/libcrypt/crypt.h
index b33ad0943e29..81b0e0324efd 100644
--- a/lib/libcrypt/crypt.h
+++ b/lib/libcrypt/crypt.h
@@ -32,12 +32,12 @@
#define MD4_SIZE 16
#define MD5_SIZE 16
-char *crypt_des(const char *pw, const char *salt);
-char *crypt_md5(const char *pw, const char *salt);
-char *crypt_nthash(const char *pw, const char *salt);
-char *crypt_blowfish(const char *pw, const char *salt);
-char *crypt_sha256 (const char *pw, const char *salt);
-char *crypt_sha512 (const char *pw, const char *salt);
+int crypt_des(const char *pw, const char *salt, char *buf);
+int crypt_md5(const char *pw, const char *salt, char *buf);
+int crypt_nthash(const char *pw, const char *salt, char *buf);
+int crypt_blowfish(const char *pw, const char *salt, char *buf);
+int crypt_sha256 (const char *pw, const char *salt, char *buf);
+int crypt_sha512 (const char *pw, const char *salt, char *buf);
extern void _crypt_to64(char *s, u_long v, int n);
-extern void b64_from_24bit(uint8_t B2, uint8_t B1, uint8_t B0, int n, int *buflen, char **cp);
+extern void b64_from_24bit(uint8_t B2, uint8_t B1, uint8_t B0, int n, char **cp);