changeset 237:961f6a74c5f4

merge of 57902417ad22502b79c63fcabb7f4a8c8449e682 and 92bb4dd3f6f212342a5c991f738b987d7a07a6b2
author Matt Johnston <matt@ucc.asn.au>
date Fri, 02 Sep 2005 15:33:45 +0000
parents c3dbd3e1a8ce (current diff) ea5189f97cfd (diff)
children e923801a7678
files common-algo.c
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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) {
--- 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