From 06e03051005ee1bd9242a0bd831be6f713416142 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 11 Sep 2011 15:32:39 +0200 Subject: server: Fix some build warnings. --- src/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server.c') diff --git a/src/server.c b/src/server.c index 605cd174..4a2ea2cc 100644 --- a/src/server.c +++ b/src/server.c @@ -157,7 +157,7 @@ SSH_PACKET_CALLBACK(ssh_packet_kexdh_init){ static int dh_handshake_server(ssh_session session) { ssh_key pubkey; ssh_key privkey = NULL; - ssh_string pubkey_blob; + ssh_string pubkey_blob = NULL; ssh_string sig_blob; ssh_string f; int rc; @@ -960,7 +960,7 @@ int ssh_message_auth_reply_pk_ok(ssh_message msg, ssh_string algo, ssh_string pu int ssh_message_auth_reply_pk_ok_simple(ssh_message msg) { ssh_string algo; - ssh_string pubkey_blob; + ssh_string pubkey_blob = NULL; int ret; algo = ssh_string_from_char(msg->auth_request.pubkey->type_c); -- cgit v1.2.3