summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-27 00:12:57 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-27 00:12:57 +0000
commitd5502180cddd0c53e27b7d423156d5ebd11f6f25 (patch)
tree31f81f96ff083d1666fb1fe46eecc19454985bab /monitor.c
parenta8959ae2b79ba64abe40949c299569ec0a8b6faa (diff)
- deraadt@cvs.openbsd.org 2002/06/26 14:49:36
[monitor.c] correct %u
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor.c b/monitor.c
index 89b712f2d..86562243d 100644
--- a/monitor.c
+++ b/monitor.c
@@ -25,7 +25,7 @@
25 */ 25 */
26 26
27#include "includes.h" 27#include "includes.h"
28RCSID("$OpenBSD: monitor.c,v 1.18 2002/06/26 13:20:57 deraadt Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.19 2002/06/26 14:49:36 deraadt Exp $");
29 29
30#include <openssl/dh.h> 30#include <openssl/dh.h>
31 31
@@ -455,7 +455,7 @@ mm_answer_sign(int socket, Buffer *m)
455 p = buffer_get_string(m, &datlen); 455 p = buffer_get_string(m, &datlen);
456 456
457 if (datlen != 20) 457 if (datlen != 20)
458 fatal("%s: data length incorrect: %d", __func__, datlen); 458 fatal("%s: data length incorrect: %u", __func__, datlen);
459 459
460 /* save session id, it will be passed on the first call */ 460 /* save session id, it will be passed on the first call */
461 if (session_id2_len == 0) { 461 if (session_id2_len == 0) {
@@ -469,7 +469,7 @@ mm_answer_sign(int socket, Buffer *m)
469 if (key_sign(key, &signature, &siglen, p, datlen) < 0) 469 if (key_sign(key, &signature, &siglen, p, datlen) < 0)
470 fatal("%s: key_sign failed", __func__); 470 fatal("%s: key_sign failed", __func__);
471 471
472 debug3("%s: signature %p(%d)", __func__, signature, siglen); 472 debug3("%s: signature %p(%u)", __func__, signature, siglen);
473 473
474 buffer_clear(m); 474 buffer_clear(m);
475 buffer_put_string(m, signature, siglen); 475 buffer_put_string(m, signature, siglen);