summaryrefslogtreecommitdiff
path: root/sbin/iked/util.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2010-06-14 08:56:00 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2010-06-14 08:56:00 +0000
commit70c706936898f82f9ca5a2f8422fc726fdc151b7 (patch)
tree4b0859204f5e3dfafda220b414ee794958e506be /sbin/iked/util.c
parente100d6bfb55bdec386813194c7e1b543ad3e12b2 (diff)
cleanup messages and parsed information correctly
Diffstat (limited to 'sbin/iked/util.c')
-rw-r--r--sbin/iked/util.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sbin/iked/util.c b/sbin/iked/util.c
index d7c31128f7d..cd54fea4abc 100644
--- a/sbin/iked/util.c
+++ b/sbin/iked/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.2 2010/06/10 09:14:38 reyk Exp $ */
+/* $OpenBSD: util.c,v 1.3 2010/06/14 08:55:59 reyk Exp $ */
/* $vantronix: util.c,v 1.39 2010/06/02 12:22:58 reyk Exp $ */
/*
@@ -726,15 +726,6 @@ print_proto(u_int8_t proto)
return (buf[idx++]);
}
-void
-message_cleanup(struct iked *env, struct iked_message *msg)
-{
- if (msg->msg_data != NULL) {
- ibuf_release(msg->msg_data);
- msg->msg_data = NULL;
- }
-}
-
int
expand_string(char *label, size_t len, const char *srch, const char *repl)
{