summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorho <ho@openbsd.org>2002-09-11 10:13:20 +0000
committerho <ho@openbsd.org>2002-09-11 10:13:20 +0000
commitda4a015e1509a53f9425879e9d6d670d4506c5c3 (patch)
treed413872494601bd97363e148ce43c4be9939f0fd
parentsigned vs unsigned, some void * arithmetic, from -pedantic. niklas@ ok. (diff)
downloadwireguard-openbsd-da4a015e1509a53f9425879e9d6d670d4506c5c3.tar.xz
wireguard-openbsd-da4a015e1509a53f9425879e9d6d670d4506c5c3.zip
signed vs unsigned from -pedantic.
-rw-r--r--sbin/isakmpd/apps/certpatch/certpatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/apps/certpatch/certpatch.c b/sbin/isakmpd/apps/certpatch/certpatch.c
index cc6cd84fc6f..baec32df3c5 100644
--- a/sbin/isakmpd/apps/certpatch/certpatch.c
+++ b/sbin/isakmpd/apps/certpatch/certpatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: certpatch.c,v 1.19 2002/08/02 17:09:29 aaron Exp $ */
+/* $OpenBSD: certpatch.c,v 1.20 2002/09/11 10:13:20 ho Exp $ */
/* $EOM: certpatch.c,v 1.11 2000/12/21 14:50:09 ho Exp $ */
/*
@@ -96,7 +96,7 @@ main (int argc, char **argv)
X509_EXTENSION *ex = NULL;
ASN1_OCTET_STRING *data = NULL;
struct in_addr saddr;
- char ipaddr[6], *new_id;
+ unsigned char ipaddr[6], *new_id;
char *type = IDTYPE_IP, *keyfile = NULL, *id = NULL;
char *certin, *certout;
int ch, err;