summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2008-06-13 20:28:50 +0000
committerDamien Miller <djm@cvs.openbsd.org>2008-06-13 20:28:50 +0000
commitdb6b79e7bf8bec764868756b325add60ad1f6e33 (patch)
tree44051de76fa453abc2bf9ae1a852500f66f49622
parentfe7a166fdee48e1bcc5171d338e2f03ac4aea4ab (diff)
-Wall friendly (missing "static", signed vs. unsigned comparison)
-rw-r--r--sbin/mount_vnd/pkcs5_pbkdf2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mount_vnd/pkcs5_pbkdf2.c b/sbin/mount_vnd/pkcs5_pbkdf2.c
index a245b403a78..58792410aad 100644
--- a/sbin/mount_vnd/pkcs5_pbkdf2.c
+++ b/sbin/mount_vnd/pkcs5_pbkdf2.c
@@ -68,10 +68,10 @@ static void int_encode(u_int8_t *, int);
static void prf_iterate(u_int8_t *, const u_int8_t *, int,
const u_int8_t *, int, int, int);
-void
+static void
memxor(void *res, const void *src, size_t len)
{
- int i;
+ size_t i;
char *r;
const char *s;