X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmisc%2Fcrypt.c;h=f1e310f6f1ca406c12410c57c3f22b54e3bea0e8;hb=c8ea985748a6857ac5db9ef50f9c92e2966c04d5;hp=f35e13d803295cd1467a74c8168b6d5cb4f7e4ae;hpb=cdf51506ce895286011ff0abe5434557845108ee;p=musl diff --git a/src/misc/crypt.c b/src/misc/crypt.c index f35e13d8..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[21]; + static char buf[128]; return __crypt_r(key, salt, (struct crypt_data *)buf); }