add sha256/sha512 crypt
[musl] / src / misc / crypt.c
index fc5c4ee..f1e310f 100644 (file)
@@ -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);
 }