Mercurial > dropbear
changeset 234:b3cca2d9ee3c
Increase algorithm list buffer length
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 02 Sep 2005 07:14:50 +0000 |
parents | 225e6822ef53 |
children | c3dbd3e1a8ce ea5189f97cfd |
files | common-algo.c options.h |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
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) {