Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libresolv/hmac_link.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libresolv/hmac_link.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- src/lib/libresolv/hmac_link.c 2012/11/15 18:48:48 1.1 +++ src/lib/libresolv/hmac_link.c 2012/11/16 02:16:38 1.2 @@ -1,4 +1,4 @@ -/* $NetBSD: hmac_link.c,v 1.1 2012/11/15 18:48:48 christos Exp $ */ +/* $NetBSD: hmac_link.c,v 1.2 2012/11/16 02:16:38 christos Exp $ */ /* * Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc. @@ -20,7 +20,7 @@ #if 0 static const char rcsid[] = "Header: /proj/cvs/prod/libbind/dst/hmac_link.c,v 1.8 2007/09/24 17:18:25 each Exp "; #else -__RCSID("$NetBSD: hmac_link.c,v 1.1 2012/11/15 18:48:48 christos Exp $"); +__RCSID("$NetBSD: hmac_link.c,v 1.2 2012/11/16 02:16:38 christos Exp $"); #endif /*% @@ -103,7 +103,7 @@ dst_hmac_md5_sign(const int mode, DST_KE } if ((mode & SIG_MODE_UPDATE) && (data && len > 0)) - MD5Update(ctx, data, len); + MD5Update(ctx, data, (unsigned int)len); if (mode & SIG_MODE_FINAL) { if (signature == NULL || sig_len < MD5_LEN)