summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/hash.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2002-09-11 09:50:45 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2002-09-11 09:50:45 +0000
commite61e8d34c013f7d9405d5bf2fdd76d2d750f7db8 (patch)
tree29e85398fc18e15f3bec403793d062b5dcde3995 /sbin/isakmpd/hash.h
parent3077f36a703beaa821b0880e5d2c796015b4ec88 (diff)
signed vs unsigned, some void * arithmetic, from -pedantic. niklas@ ok.
Diffstat (limited to 'sbin/isakmpd/hash.h')
-rw-r--r--sbin/isakmpd/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/hash.h b/sbin/isakmpd/hash.h
index c33b8cb2187..9f1c9544220 100644
--- a/sbin/isakmpd/hash.h
+++ b/sbin/isakmpd/hash.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hash.h,v 1.3 1998/11/17 11:10:11 niklas Exp $ */
+/* $OpenBSD: hash.h,v 1.4 2002/09/11 09:50:43 ho Exp $ */
/* $EOM: hash.h,v 1.6 1998/07/25 22:04:36 niklas Exp $ */
/*
@@ -53,7 +53,7 @@ struct hash {
int id; /* ISAKMP/Oakley ID */
u_int8_t hashsize; /* Size of the hash */
void *ctx; /* Pointer to a context, for HMAC ictx */
- char *digest; /* Pointer to a digest */
+ unsigned char *digest; /* Pointer to a digest */
int ctxsize;
void *ctx2; /* Pointer to a 2nd context, for HMAC octx */
void (*Init) (void *);