diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-11-15 21:49:05 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-11-15 21:49:05 +0000 |
commit | 505ddd468d1d0f6e6bc7b9e84aec5c49436157f1 (patch) | |
tree | 280404340dd4fffa79e45eb102f71f7db9b1a7a2 /sbin/isakmpd/util.h | |
parent | 187917516a1cfdfbf2b5699c8ed48ba76a66b478 (diff) |
Add a new raw2hex function and yank out several pieces of code in other
places that were doing this. Prodding deraadt. OK hshoexer.
Diffstat (limited to 'sbin/isakmpd/util.h')
-rw-r--r-- | sbin/isakmpd/util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/util.h b/sbin/isakmpd/util.h index 393e243e560..04674af5f91 100644 --- a/sbin/isakmpd/util.h +++ b/sbin/isakmpd/util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.26 2005/07/25 14:56:42 hshoexer Exp $ */ +/* $OpenBSD: util.h,v 1.27 2005/11/15 21:49:04 cloder Exp $ */ /* $EOM: util.h,v 1.10 2000/10/24 13:33:39 niklas Exp $ */ /* @@ -53,6 +53,7 @@ extern void encode_64(u_int8_t *, u_int64_t); extern u_int32_t rand_32(void); extern u_int8_t *getrandom(u_int8_t *, size_t); extern int hex2raw(char *, u_int8_t *, size_t); +extern char *raw2hex(u_int8_t *, size_t); extern int ones_test(const u_int8_t *, size_t); extern int sockaddr2text(struct sockaddr *, char **, int); extern u_int8_t *sockaddr_addrdata(struct sockaddr *); |