1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-08 19:02:06 +03:00

server: Fix some build warnings.

This commit is contained in:
Andreas Schneider
2011-09-11 15:32:39 +02:00
parent 3b5bdc5db4
commit 06e0305100
2 changed files with 3 additions and 3 deletions

View File

@@ -472,7 +472,7 @@ void privatekey_free(ssh_private_key prv) {
ssh_string publickey_from_file(ssh_session session, const char *filename,
int *type) {
ssh_key key;
ssh_string key_str;
ssh_string key_str = NULL;
int rc;
(void) session; /* unused */

View File

@@ -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);