summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2020-12-05 19:10:47 +0000
committertobhe <tobhe@openbsd.org>2020-12-05 19:10:47 +0000
commitd213a35d86b656bac272285783052dc14d381a99 (patch)
tree4ef261b4de69dd3af8aea66ce9afa3fda3e59b9f
parentcouple more article fixes; (diff)
downloadwireguard-openbsd-d213a35d86b656bac272285783052dc14d381a99.tar.xz
wireguard-openbsd-d213a35d86b656bac272285783052dc14d381a99.zip
Make len unsigned.
ok patrick@
-rw-r--r--sbin/iked/ca.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/iked/ca.c b/sbin/iked/ca.c
index c0cb743722f..cbf75c7d5d2 100644
--- a/sbin/iked/ca.c
+++ b/sbin/iked/ca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ca.c,v 1.74 2020/11/04 15:32:10 tobhe Exp $ */
+/* $OpenBSD: ca.c,v 1.75 2020/12/05 19:10:47 tobhe Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -697,7 +697,8 @@ ca_reload(struct iked *env)
X509_OBJECT *xo;
X509 *x509;
DIR *dir;
- int i, len, iovcnt = 0;
+ int i, iovcnt = 0;
+ unsigned int len;
/*
* Load CAs