Return to ssh_api.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.7, 2016/05/04 14:22:33 | version 1.8, 2017/04/30 23:13:25 | ||
---|---|---|---|
|
|
||
} | } | ||
if (remote_major != 2) | if (remote_major != 2) | ||
return SSH_ERR_PROTOCOL_MISMATCH; | return SSH_ERR_PROTOCOL_MISMATCH; | ||
enable_compat20(); | |||
chop(buf); | chop(buf); | ||
debug("Remote version string %.100s", buf); | debug("Remote version string %.100s", buf); | ||
if ((*bannerp = strdup(buf)) == NULL) | if ((*bannerp = strdup(buf)) == NULL) |