diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-11-15 22:10:50 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-11-15 22:10:50 +0000 |
commit | 14c682e7d0c588300f1984d3de1a7a0c1370ef15 (patch) | |
tree | 86afd8712a2da9d6236721be9f70a6cb5186444f /sbin/isakmpd/key.c | |
parent | 7dd64f492b258a954a6cdedb8ae0e8329055d5b5 (diff) |
Be cleaner about signed vs. unsigned when it's easy to do so. OK hshoexer
Diffstat (limited to 'sbin/isakmpd/key.c')
-rw-r--r-- | sbin/isakmpd/key.c | 6 |
1 files changed, 3 insertions, 3 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: |