summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/regress
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2004-04-07 22:45:51 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2004-04-07 22:45:51 +0000
commit49d2f3fa3f28f59974356f9256569c156a6e2659 (patch)
tree2f9f6a51fd70bf3de44250e6ac22400b4541e1b8 /sbin/isakmpd/regress
parentde3137aa6e339718ed70674a6b71f23a6e16ac4f (diff)
-Wsign-compare nits. hshoexer@ ok.
Diffstat (limited to 'sbin/isakmpd/regress')
-rw-r--r--sbin/isakmpd/regress/crypto/cryptotest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/isakmpd/regress/crypto/cryptotest.c b/sbin/isakmpd/regress/crypto/cryptotest.c
index 68573731efb..d860dddc494 100644
--- a/sbin/isakmpd/regress/crypto/cryptotest.c
+++ b/sbin/isakmpd/regress/crypto/cryptotest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptotest.c,v 1.12 2004/02/25 16:01:29 hshoexer Exp $ */
+/* $OpenBSD: cryptotest.c,v 1.13 2004/04/07 22:45:50 ho Exp $ */
/* $EOM: cryptotest.c,v 1.5 1998/10/07 16:40:49 niklas Exp $ */
/*
@@ -40,7 +40,7 @@
void test_crypto (enum transform);
-#define SET_KEY(x,y) {int i; for (i=0; i < (y); i++) (x)[i] = i;}
+#define SET_KEY(x,y) {size_t i; for (i=0; i < (y); i++) (x)[i] = i;}
int
verify_buf (u_int8_t *buf, u_int16_t len)
@@ -132,10 +132,10 @@ main (void)
return 1;
}
- void
+void
dump_buf (u_int8_t *buf, size_t len)
{
- int i;
+ size_t i;
for (i = 0; i < len; i++)
printf ("%02x ", buf[i]);