diff svr-algo.c @ 641:2b1bb792cd4d dropbear-tfm

- Update tfm changes to current default tip
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Nov 2011 19:52:28 +0800
parents 870c63519757
children 3062da90dab8
line wrap: on
line diff
--- a/svr-algo.c	Mon Nov 21 19:19:57 2011 +0800
+++ b/svr-algo.c	Mon Nov 21 19:52:28 2011 +0800
@@ -68,7 +68,7 @@
 			remotealgos[count] = &algolist[i+1];
 			count++;
 		}
-		if (count == MAX_PROPOSED_ALGO) {
+		if (count >= MAX_PROPOSED_ALGO) {
 			break;
 		}
 	}