diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-16 18:38:49 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-01-16 18:38:49 +0100 |
commit | 549ea0d7ba2a1fe61b00aba9139bfb8724c2e46b (patch) | |
tree | 7f825d1dac68e22603bea5153de46a974ee36ebc /libssh | |
parent | 94d1112c55eb03597e1cf2f6ba0c24e20764e947 (diff) | |
download | libssh-549ea0d7ba2a1fe61b00aba9139bfb8724c2e46b.tar.gz libssh-549ea0d7ba2a1fe61b00aba9139bfb8724c2e46b.tar.xz libssh-549ea0d7ba2a1fe61b00aba9139bfb8724c2e46b.zip |
Fix SSH1 related warning
Diffstat (limited to 'libssh')
-rw-r--r-- | libssh/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libssh/client.c b/libssh/client.c index ffe3564b..2f6ee74e 100644 --- a/libssh/client.c +++ b/libssh/client.c @@ -538,6 +538,10 @@ int ssh_service_request(ssh_session session, const char *service) { case SSH_AUTH_SERVICE_SENT: rc=SSH_AGAIN; break; + case SSH_AUTH_SERVICE_USER_SENT: + /* Invalid state, SSH1 specific */ + rc=SSH_ERROR; + break; } leave_function(); |