aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding/payloads/proposal_substructure.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-11-17 11:27:46 +0000
committerMartin Willi <martin@revosec.ch>2012-03-20 17:30:42 +0100
commit38fb67fbf18489f40845b072e4ed50b1f6cf0c9c (patch)
tree01e3e43880ec5cf7712607bfd37a6811cbb4cbce /src/libcharon/encoding/payloads/proposal_substructure.h
parente9b55b832546d05f464bdddbe779ed21cd17b624 (diff)
downloadstrongswan-38fb67fbf18489f40845b072e4ed50b1f6cf0c9c.tar.bz2
strongswan-38fb67fbf18489f40845b072e4ed50b1f6cf0c9c.tar.xz
Add a payload.get_header_length() method, remove header length definitions
Diffstat (limited to 'src/libcharon/encoding/payloads/proposal_substructure.h')
-rw-r--r--src/libcharon/encoding/payloads/proposal_substructure.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcharon/encoding/payloads/proposal_substructure.h b/src/libcharon/encoding/payloads/proposal_substructure.h
index 86ccd5b8b..72bbdd64f 100644
--- a/src/libcharon/encoding/payloads/proposal_substructure.h
+++ b/src/libcharon/encoding/payloads/proposal_substructure.h
@@ -30,12 +30,6 @@ typedef struct proposal_substructure_t proposal_substructure_t;
#include <config/proposal.h>
#include <utils/linked_list.h>
-
-/**
- * Length of the proposal substructure header (without spi).
- */
-#define PROPOSAL_SUBSTRUCTURE_HEADER_LENGTH 8
-
/**
* Class representing an IKEv1/IKEv2 proposal substructure.
*/