comparison cli-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
comparison
equal deleted inserted replaced
640:76097ec1a29a 641:2b1bb792cd4d
65 if (algolist[i] == ',') { 65 if (algolist[i] == ',') {
66 algolist[i] = '\0'; 66 algolist[i] = '\0';
67 remotealgos[count] = &algolist[i+1]; 67 remotealgos[count] = &algolist[i+1];
68 count++; 68 count++;
69 } 69 }
70 if (count == MAX_PROPOSED_ALGO) { 70 if (count >= MAX_PROPOSED_ALGO) {
71 break; 71 break;
72 } 72 }
73 } 73 }
74 74
75 /* iterate and find the first match */ 75 /* iterate and find the first match */