[monitor.c]
     correct %u
This commit is contained in:
Ben Lindstrom 2002-06-27 00:12:57 +00:00
parent a8959ae2b7
commit d5502180cd
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
200206027
- OpenBSD CVS Sync
- deraadt@cvs.openbsd.org 2002/06/26 14:49:36
[monitor.c]
correct %u
20020626 20020626
- (stevesk) [monitor.c] remove duplicate proto15 dispatch entry for PAM - (stevesk) [monitor.c] remove duplicate proto15 dispatch entry for PAM
- (bal) OpenBSD CVS Sync - (bal) OpenBSD CVS Sync
@ -1169,4 +1175,4 @@
- (stevesk) entropy.c: typo in debug message - (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@ - (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2302 2002/06/26 18:05:32 tim Exp $ $Id: ChangeLog,v 1.2303 2002/06/27 00:12:57 mouring Exp $

View File

@ -25,7 +25,7 @@
*/ */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: monitor.c,v 1.18 2002/06/26 13:20:57 deraadt Exp $"); RCSID("$OpenBSD: monitor.c,v 1.19 2002/06/26 14:49:36 deraadt Exp $");
#include <openssl/dh.h> #include <openssl/dh.h>
@ -455,7 +455,7 @@ mm_answer_sign(int socket, Buffer *m)
p = buffer_get_string(m, &datlen); p = buffer_get_string(m, &datlen);
if (datlen != 20) if (datlen != 20)
fatal("%s: data length incorrect: %d", __func__, datlen); fatal("%s: data length incorrect: %u", __func__, datlen);
/* save session id, it will be passed on the first call */ /* save session id, it will be passed on the first call */
if (session_id2_len == 0) { if (session_id2_len == 0) {
@ -469,7 +469,7 @@ mm_answer_sign(int socket, Buffer *m)
if (key_sign(key, &signature, &siglen, p, datlen) < 0) if (key_sign(key, &signature, &siglen, p, datlen) < 0)
fatal("%s: key_sign failed", __func__); fatal("%s: key_sign failed", __func__);
debug3("%s: signature %p(%d)", __func__, signature, siglen); debug3("%s: signature %p(%u)", __func__, signature, siglen);
buffer_clear(m); buffer_clear(m);
buffer_put_string(m, signature, siglen); buffer_put_string(m, signature, siglen);