# HG changeset patch # User Matt Johnston # Date 1125675225 0 # Node ID 961f6a74c5f40642da7f6986e06cff78cfa42825 # Parent c3dbd3e1a8ce5318e59a02478ffe7b37831b86bc# Parent ea5189f97cfde46db4a96db510bfcdb6ca26e42f merge of 57902417ad22502b79c63fcabb7f4a8c8449e682 and 92bb4dd3f6f212342a5c991f738b987d7a07a6b2 diff -r c3dbd3e1a8ce -r 961f6a74c5f4 common-algo.c --- a/common-algo.c Fri Sep 02 07:43:42 2005 +0000 +++ b/common-algo.c Fri Sep 02 15:33:45 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 c3dbd3e1a8ce -r 961f6a74c5f4 options.h --- a/options.h Fri Sep 02 07:43:42 2005 +0000 +++ b/options.h Fri Sep 02 15:33:45 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