summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/x509.c
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/x509.c
parentde3137aa6e339718ed70674a6b71f23a6e16ac4f (diff)
-Wsign-compare nits. hshoexer@ ok.
Diffstat (limited to 'sbin/isakmpd/x509.c')
-rw-r--r--sbin/isakmpd/x509.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/isakmpd/x509.c b/sbin/isakmpd/x509.c
index 1c01eb46271..be0f7a88bae 100644
--- a/sbin/isakmpd/x509.c
+++ b/sbin/isakmpd/x509.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509.c,v 1.86 2004/03/19 14:04:43 hshoexer Exp $ */
+/* $OpenBSD: x509.c,v 1.87 2004/04/07 22:45:49 ho Exp $ */
/* $EOM: x509.c,v 1.54 2001/01/16 18:42:16 ho Exp $ */
/*
@@ -522,7 +522,7 @@ x509_generate_kn (int id, X509 *cert)
static u_int16_t
x509_hash (u_int8_t *id, size_t len)
{
- int i;
+ size_t i;
u_int16_t bucket = 0;
/* XXX We might resize if we are crossing a certain threshold. */
@@ -1492,8 +1492,7 @@ x509_printable (void *cert)
{
char *s;
u_int8_t *data;
- u_int32_t datalen;
- int i;
+ u_int32_t datalen, i;
x509_serialize (cert, &data, &datalen);
if (!data)