Mercurial > dropbear
diff common-algo.c @ 234:b3cca2d9ee3c
Increase algorithm list buffer length
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 02 Sep 2005 07:14:50 +0000 |
parents | 16f552859ee6 |
children | c3dbd3e1a8ce ea5189f97cfd |
line wrap: on
line diff
--- a/common-algo.c Tue Aug 30 18:00:11 2005 +0000 +++ b/common-algo.c Fri Sep 02 07:14:50 2005 +0000 @@ -210,7 +210,7 @@ void buf_put_algolist(buffer * buf, algo_type localalgos[]) { unsigned int pos = 0, i, len; - char str[50]; /* enough for local algo storage */ + char str[MAX_ALGO_LIST_LEN]; for (i = 0; localalgos[i].name != NULL; i++) { if (localalgos[i].usable) {