summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-04-08 21:14:50 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-04-08 21:14:50 +0000
commitfa40d67113ddf1fc6d9b15fb7add9e6bf3cf8f0d (patch)
tree50879916599da8db05218a4584249c9ffc23dbee /sbin
parent528e35ecd6f58c0da66dec7af8fceb03430ed892 (diff)
Make DPD vendor ID u_int8_t, not char. Gets rid of a warning in
-pedantic mode. OK hshoexer
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/dpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/dpd.c b/sbin/isakmpd/dpd.c
index 745c8b79cac..4f81589a0b7 100644
--- a/sbin/isakmpd/dpd.c
+++ b/sbin/isakmpd/dpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dpd.c,v 1.11 2005/04/08 19:40:02 deraadt Exp $ */
+/* $OpenBSD: dpd.c,v 1.12 2005/04/08 21:14:49 cloder Exp $ */
/*
* Copyright (c) 2004 Håkan Olsson. All rights reserved.
@@ -48,7 +48,7 @@
#define DPD_MINOR 0x00
#define DPD_SEQNO_SZ 4
-static const char dpd_vendor_id[] = {
+static const u_int8_t dpd_vendor_id[] = {
0xAF, 0xCA, 0xD7, 0x13, 0x68, 0xA1, 0xF1, /* RFC 3706 */
0xC9, 0x6B, 0x86, 0x96, 0xFC, 0x77, 0x57,
DPD_MAJOR,