diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/key.c | 6 | ||||
-rw-r--r-- | sbin/isakmpd/key.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/isakmpd/key.c b/sbin/isakmpd/key.c index 8c4a2573dcb..19c8e11efa3 100644 --- a/sbin/isakmpd/key.c +++ b/sbin/isakmpd/key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.23 2005/11/15 21:49:04 cloder Exp $ */ +/* $OpenBSD: key.c,v 1.24 2005/11/15 22:10:49 cloder Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -93,7 +93,7 @@ key_serialize(int type, int private, void *key, u_int8_t **data, /* Convert from serialized to printable */ char * -key_printable(int type, int private, u_int8_t *data, int datalen) +key_printable(int type, int private, u_int8_t *data, size_t datalen) { switch (type) { case ISAKMP_KEY_PASSPHRASE: @@ -111,7 +111,7 @@ key_printable(int type, int private, u_int8_t *data, int datalen) /* Convert from serialized to internal. */ void * -key_internalize(int type, int private, u_int8_t *data, int datalen) +key_internalize(int type, int private, u_int8_t *data, size_t datalen) { switch (type) { case ISAKMP_KEY_PASSPHRASE: diff --git a/sbin/isakmpd/key.h b/sbin/isakmpd/key.h index 81b13289046..38d5e993fce 100644 --- a/sbin/isakmpd/key.h +++ b/sbin/isakmpd/key.h @@ -1,4 +1,4 @@ -/* $OpenBSD: key.h,v 1.7 2004/04/15 18:39:26 deraadt Exp $ */ +/* $OpenBSD: key.h,v 1.8 2005/11/15 22:10:49 cloder Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -33,7 +33,7 @@ void key_free(int, int, void *); void key_serialize(int, int, void *, u_int8_t **, size_t *); -char *key_printable(int, int, u_int8_t *, int); +char *key_printable(int, int, u_int8_t *, size_t); void key_from_printable(int, int, char *, u_int8_t **, u_int32_t *); -void *key_internalize(int, int, u_int8_t *, int); +void *key_internalize(int, int, u_int8_t *, size_t); #endif /* _KEY_H_ */ |