[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 4/7] libssh2_session: support DSS keys as well



On 2012年11月28日 21:34, Ján Tomko wrote:
Missing break in the switch.
---
  src/rpc/virnetsshsession.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/rpc/virnetsshsession.c b/src/rpc/virnetsshsession.c
index 13a0368..286cc4d 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:

ACK


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]