Differences From Artifact [7d7be15faa]:
- File ssh.c — part of check-in [ff0d0a3692] at 2001-03-23 04:28:36 on branch trunk — Fix the SSH protocol version exchange, which had a weird stack trash in it which for some reason didn't show up when built with VC++6 but blew up the nightlies. Should be OK now. (user: simon size: 134013)
To Artifact [295ac254da]:
- File ssh.c — part of check-in [187803a9b3] at 2001-03-29 07:40:03 on branch trunk — Fix the detect_bugs routine, which was failing to find the right bit of the version string :-) (user: simon size: 134055)
| ︙ | |||
1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 | 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 | + + |
* Examine the remote side's version string and compare it against
* a list of known buggy implementations.
*/
static void ssh_detect_bugs(char *vstring) {
char *imp; /* pointer to implementation part */
imp = vstring;
imp += strcspn(imp, "-");
if (*imp) imp++;
imp += strcspn(imp, "-");
if (*imp) imp++;
ssh_remote_bugs = 0;
if (!strcmp(imp, "1.2.18") || !strcmp(imp, "1.2.19") ||
!strcmp(imp, "1.2.20") || !strcmp(imp, "1.2.21") ||
!strcmp(imp, "1.2.22")) {
/*
|
| ︙ |