# HG changeset patch # User Matt Johnston # Date 1125675189 0 # Node ID ea5189f97cfde46db4a96db510bfcdb6ca26e42f # Parent b3cca2d9ee3c3a03b6f115cb0e8c7ee26394fbc1 disapproval of revision ac41ae96770156bca2c0193b500ee07ee8d9a027 diff -r b3cca2d9ee3c -r ea5189f97cfd common-algo.c --- 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) { diff -r b3cca2d9ee3c -r ea5189f97cfd options.h --- a/options.h Fri Sep 02 07:14:50 2005 +0000 +++ b/options.h Fri Sep 02 15:33:09 2005 +0000 @@ -289,9 +289,6 @@ #define MAX_PROPOSED_ALGO 20 -#define MAX_ALGO_LIST_LEN 100 /* max length of our sent algorithm list - (cipher is longest) */ - /* size/count limits */ #define MAX_LISTEN_ADDR 10