summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ssh/ssh.c4
-rw-r--r--usr.bin/ssh/sshd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 0f7d6f4d854..37185f0dae0 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.86 2001/01/31 20:37:23 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.87 2001/02/04 15:14:14 deraadt Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -915,7 +915,7 @@ ssh_session2_callback(int id, void *arg)
int len;
int interactive = 0;
- debug("client_init id %d arg %d", id, (int)arg);
+ debug("client_init id %d arg %ld", id, (long)arg);
if (no_shell_flag)
goto done;
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c
index c83db129cc6..5cc4ac849b0 100644
--- a/usr.bin/ssh/sshd.c
+++ b/usr.bin/ssh/sshd.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.159 2001/01/29 19:47:31 markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.160 2001/02/04 15:14:15 deraadt Exp $");
#include <openssl/dh.h>
#include <openssl/bn.h>
@@ -1323,7 +1323,7 @@ do_ssh1_kex(void)
len = BN_num_bytes(session_key_int);
if (len < 0 || len > sizeof(session_key)) {
error("do_connection: bad session key len from %s: "
- "session_key_int %d > sizeof(session_key) %d",
+ "session_key_int %d > sizeof(session_key) %ld",
get_remote_ipaddr(), len, sizeof(session_key));
rsafail++;
} else {