summaryrefslogtreecommitdiff
path: root/src/rpc/virnetsshsession.c
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2012-11-28 14:34:48 +0100
committerOsier Yang <jyang@redhat.com>2012-11-29 00:00:39 +0800
commit7475ee0f751bed4dae568d545bcb59f228ec02f2 (patch)
treec705cf43074429426a4f983587f1b777c0975976 /src/rpc/virnetsshsession.c
parent28a6fd9396706d327624022f0ee03e01d92b0a45 (diff)
downloadlibvirt-7475ee0f751bed4dae568d545bcb59f228ec02f2.tar.gz
libssh2_session: support DSS keys as well
Missing break in the switch.
Diffstat (limited to 'src/rpc/virnetsshsession.c')
-rw-r--r--src/rpc/virnetsshsession.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/virnetsshsession.c b/src/rpc/virnetsshsession.c
index 13a0368470..286cc4dd56 100644
--- a/src/rpc/virnetsshsession.c
+++ b/src/rpc/virnetsshsession.c
@@ -412,6 +412,7 @@ virNetSSHCheckHostKey(virNetSSHSessionPtr sess)
break;
case LIBSSH2_HOSTKEY_TYPE_DSS:
keyType = LIBSSH2_KNOWNHOST_KEY_SSHDSS;
+ break;
case LIBSSH2_HOSTKEY_TYPE_UNKNOWN:
default: