X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmisc%2Fcrypt.c;fp=src%2Fmisc%2Fcrypt.c;h=fc5c4ee15482229a5148cb089d803ee98f6769f4;hb=a02bf5fc508c32e8617ff0528d1cc89ed56e3d03;hp=f35e13d803295cd1467a74c8168b6d5cb4f7e4ae;hpb=2f437040e7911d9bef239588ea7ed6f4b9102922;p=musl 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); }