summaryrefslogtreecommitdiff
path: root/src/misc/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/crypt.c')
-rw-r--r--src/misc/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/crypt.c b/src/misc/crypt.c
index f35e13d8..fc5c4ee1 100644
--- a/src/misc/crypt.c
+++ b/src/misc/crypt.c
@@ -6,6 +6,6 @@ char *__crypt_r(const char *, const char *, struct crypt_data *);
char *crypt(const char *key, const char *salt)
{
/* Note: update this size when we add more hash types */
- static char buf[21];
+ static char buf[64];
return __crypt_r(key, salt, (struct crypt_data *)buf);
}