[hostfile.c]
     Correct format/arguments to debug call; spotted by shaw at vranix.com
     ok djm@
This commit is contained in:
Darren Tucker 2005-11-22 19:43:26 +11:00
parent f4732f6475
commit 593bae7e10
2 changed files with 8 additions and 4 deletions

View File

@ -18,6 +18,10 @@
information about account validity. bz #975, patch originally from information about account validity. bz #975, patch originally from
Senthil Kumar, sanity checked by Simon Wilkinson, tested by djm@, biorn@, Senthil Kumar, sanity checked by Simon Wilkinson, tested by djm@, biorn@,
ok markus@ ok markus@
- dtucker@cvs.openbsd.org 2005/11/22 03:36:03
[hostfile.c]
Correct format/arguments to debug call; spotted by shaw at vranix.com
ok djm@
20051120 20051120
- (dtucker) [openbsd-compat/openssl-compat.h] Add comment explaining what - (dtucker) [openbsd-compat/openssl-compat.h] Add comment explaining what
@ -3327,4 +3331,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4000 2005/11/22 08:42:42 dtucker Exp $ $Id: ChangeLog,v 1.4001 2005/11/22 08:43:26 dtucker Exp $

View File

@ -36,7 +36,7 @@
*/ */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: hostfile.c,v 1.35 2005/07/27 10:39:03 dtucker Exp $"); RCSID("$OpenBSD: hostfile.c,v 1.36 2005/11/22 03:36:03 dtucker Exp $");
#include <resolv.h> #include <resolv.h>
#include <openssl/hmac.h> #include <openssl/hmac.h>
@ -88,8 +88,8 @@ extract_salt(const char *s, u_int l, char *salt, size_t salt_len)
return (-1); return (-1);
} }
if (ret != SHA_DIGEST_LENGTH) { if (ret != SHA_DIGEST_LENGTH) {
debug2("extract_salt: expected salt len %u, got %u", debug2("extract_salt: expected salt len %d, got %d",
salt_len, ret); SHA_DIGEST_LENGTH, ret);
return (-1); return (-1);
} }