Mercurial > dropbear
diff common-algo.c @ 236:ea5189f97cfd
disapproval of revision ac41ae96770156bca2c0193b500ee07ee8d9a027
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 02 Sep 2005 15:33:09 +0000 |
parents | b3cca2d9ee3c |
children | 961f6a74c5f4 |
line wrap: on
line diff
--- a/common-algo.c Fri Sep 02 07:14:50 2005 +0000 +++ b/common-algo.c Fri Sep 02 15:33:09 2005 +0000 @@ -210,7 +210,7 @@ void buf_put_algolist(buffer * buf, algo_type localalgos[]) { unsigned int pos = 0, i, len; - char str[MAX_ALGO_LIST_LEN]; + char str[50]; /* enough for local algo storage */ for (i = 0; localalgos[i].name != NULL; i++) { if (localalgos[i].usable) {