diff options
author | Yang Tse <yangsita@gmail.com> | 2011-05-23 19:37:41 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-05-23 19:37:41 +0200 |
commit | 8bdc48eddb00bcb4d74bb182231460ce019782d9 (patch) | |
tree | 9b9254a9d643d6291be359009da040dcd67442e0 | |
parent | 328600e02b40f3fa50cebf2af99f243e787088eb (diff) |
compiler warning: fix
Fix compiler warning: `keycheck' might be used uninitialized in this function.
Fix compiler warning: `keybit' might be used uninitialized in this function.
-rw-r--r-- | lib/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -522,8 +522,8 @@ static CURLcode ssh_knownhost(struct connectdata *conn) size_t keylen; const char *remotekey = libssh2_session_hostkey(sshc->ssh_session, &keylen, &keytype); - int keycheck; - int keybit; + int keycheck = LIBSSH2_KNOWNHOST_CHECK_FAILURE; + int keybit = 0; if(remotekey) { /* |