diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-23 15:15:04 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-23 15:15:28 +0200 |
commit | e94b0f8c08af8b2cb19b8666fd3bdcb767f62c53 (patch) | |
tree | 273943436edc31160763550f1c248bd32e5f35a1 | |
parent | 149be78ee046057391311fd5c5778bfaa22a7b4f (diff) | |
download | libssh-e94b0f8c08af8b2cb19b8666fd3bdcb767f62c53.tar.gz libssh-e94b0f8c08af8b2cb19b8666fd3bdcb767f62c53.tar.xz libssh-e94b0f8c08af8b2cb19b8666fd3bdcb767f62c53.zip |
server: Fix a build warning.
Thanks to Tom Judge.
-rw-r--r-- | src/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c index cde8a19..6c454f7 100644 --- a/src/server.c +++ b/src/server.c @@ -156,7 +156,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexdh_init){ static int dh_handshake_server(ssh_session session) { ssh_key pubkey; - ssh_key privkey; + ssh_key privkey = NULL; ssh_string pubkey_blob; ssh_string sig_blob; ssh_string f; |