summaryrefslogtreecommitdiffstats
path: root/libssh/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/client.c')
-rw-r--r--libssh/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/client.c b/libssh/client.c
index c2edd88c..d85f4b39 100644
--- a/libssh/client.c
+++ b/libssh/client.c
@@ -161,7 +161,7 @@ static int ssh_analyze_banner(ssh_session session, int *ssh1, int *ssh2) {
* OpenSSH_5.4
* 012345678901234567890
*/
- if (strlen(openss) > 9) {
+ if (strlen(openssh) > 9) {
major = strtol(openssh + 8, (char **) NULL, 10);
minor = strtol(openssh + 10, (char **) NULL, 10);
session->openssh = SSH_VERSION_INT(major, minor, 0);