From a02bf5fc508c32e8617ff0528d1cc89ed56e3d03 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 10 Aug 2012 00:20:00 -0400 Subject: add blowfish hash support to crypt there are still some discussions going on about tweaking the code, but at least thing brings us to the point of having something working in the repository. hopefully the remaining major hashes (md5,sha) will follow soon. --- src/misc/crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc/crypt.c') 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); } -- cgit 1.4.1