diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-03-14 15:14:18 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-03-14 15:14:18 +0000 |
commit | 08e24088962025483b7cfdabb1c574624e730e7f (patch) | |
tree | 9f72dc9365f1665b26bf303042e56054e3dffe98 /libssh/kex.c | |
parent | 453b91903bb4d6ab08487055254ae33a2dddaf81 (diff) | |
download | libssh-08e24088962025483b7cfdabb1c574624e730e7f.tar.gz libssh-08e24088962025483b7cfdabb1c574624e730e7f.tar.xz libssh-08e24088962025483b7cfdabb1c574624e730e7f.zip |
Fix build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@273 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/kex.c')
-rw-r--r-- | libssh/kex.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libssh/kex.c b/libssh/kex.c index 3e20b6a..a2d9340 100644 --- a/libssh/kex.c +++ b/libssh/kex.c @@ -455,9 +455,12 @@ int ssh_get_kex1(SSH_SESSION *session){ supported_ciphers_mask=ntohl(supported_ciphers_mask); supported_authentications_mask=ntohl(supported_authentications_mask); ssh_log(session,SSH_LOG_PROTOCOL,"server bits: %d ; host bits: %d Protocol flags : %.8lx ; " - "cipher mask : %.8lx ; auth mask: %.8lx",server_bits, - host_bits,protocol_flags,supported_ciphers_mask, - supported_authentications_mask); + "cipher mask : %.8lx ; auth mask: %.8lx", + server_bits, + host_bits, + (unsigned long int) protocol_flags, + (unsigned long int) supported_ciphers_mask, + (unsigned long int) supported_authentications_mask); serverkey=make_rsa1_string(server_exp,server_mod); hostkey=make_rsa1_string(host_exp,host_mod); build_session_id1(session,server_mod,host_mod); |