diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-09-02 07:14:50 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-09-02 07:14:50 +0000 |
commit | f724ece38670399a1c17810fe223b28933d46966 (patch) | |
tree | 173a35f2004121f5655c125e210e5bb44bb82fa1 /common-algo.c | |
parent | aba295323ed69f44ffb79e444cac61bea6198b0f (diff) |
Increase algorithm list buffer length
--HG--
extra : convert_revision : c821fb2723909e932bb390b2eb46a9e0c6f28c30
Diffstat (limited to 'common-algo.c')
-rw-r--r-- | common-algo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common-algo.c b/common-algo.c index 45adecb..71b1c6a 100644 --- a/common-algo.c +++ b/common-algo.c @@ -210,7 +210,7 @@ int have_algo(char* algo, size_t algolen, algo_type algos[]) { 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) { |