author | Rich Felker <dalias@aerifal.cx> | 2012年08月29日 12:41:29 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012年08月29日 12:41:29 -0400 |
commit | 88bf5a8a8d7d796f63cca8589f4de67aa8345f1a (patch) | |
tree | 93ef111566aae52afa23a5c5201d9d46615f92ba /src/misc/crypt.c | |
parent | b439c051c7eee4eb4b93fc382f993aa6305ce530 (diff) | |
download | musl-88bf5a8a8d7d796f63cca8589f4de67aa8345f1a.tar.gz |
-rw-r--r-- | src/misc/crypt.c | 2 |
diff --git a/src/misc/crypt.c b/src/misc/crypt.c index fc5c4ee1..f1e310f6 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[64]; + static char buf[128]; return __crypt_r(key, salt, (struct crypt_data *)buf); } |