aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/cmp.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-05-16 16:56:49 +0200
committerTobias Brunner <tobias@strongswan.org>2012-06-11 17:33:32 +0200
commit3e2ff81e5dbbd54d33bc8f91c23ab3fa55a22bd8 (patch)
tree5b3d18fff6e7ec7a0c16084360c546546fe91665 /src/starter/cmp.c
parente55876a657ae9d4bbf14320e5a14f86cc5c31c7f (diff)
downloadstrongswan-3e2ff81e5dbbd54d33bc8f91c23ab3fa55a22bd8.tar.bz2
strongswan-3e2ff81e5dbbd54d33bc8f91c23ab3fa55a22bd8.tar.xz
starter: Removed all unsupported keywords.
Diffstat (limited to 'src/starter/cmp.c')
-rw-r--r--src/starter/cmp.c26
1 files changed, 3 insertions, 23 deletions
diff --git a/src/starter/cmp.c b/src/starter/cmp.c
index e65d96f36..c01d273e1 100644
--- a/src/starter/cmp.c
+++ b/src/starter/cmp.c
@@ -23,8 +23,7 @@
#define SUBCMP(obj) if (!samesubnet(&c1->obj,&c2->obj)) return FALSE
#define STRCMP(obj) if (strcmp(c1->obj,c2->obj)) return FALSE
-static bool
-starter_cmp_end(starter_end_t *c1, starter_end_t *c2)
+static bool starter_cmp_end(starter_end_t *c1, starter_end_t *c2)
{
if ((c1 == NULL) || (c2 == NULL))
return FALSE;
@@ -38,8 +37,7 @@ starter_cmp_end(starter_end_t *c1, starter_end_t *c2)
return cmp_args(KW_END_FIRST, KW_END_LAST, (char *)c1, (char *)c2);
}
-bool
-starter_cmp_conn(starter_conn_t *c1, starter_conn_t *c2)
+bool starter_cmp_conn(starter_conn_t *c1, starter_conn_t *c2)
{
if ((c1 == NULL) || (c2 == NULL))
return FALSE;
@@ -58,8 +56,7 @@ starter_cmp_conn(starter_conn_t *c1, starter_conn_t *c2)
return cmp_args(KW_CONN_NAME, KW_CONN_LAST, (char *)c1, (char *)c2);
}
-bool
-starter_cmp_ca(starter_ca_t *c1, starter_ca_t *c2)
+bool starter_cmp_ca(starter_ca_t *c1, starter_ca_t *c2)
{
if (c1 == NULL || c2 == NULL)
return FALSE;
@@ -67,20 +64,3 @@ starter_cmp_ca(starter_ca_t *c1, starter_ca_t *c2)
return cmp_args(KW_CA_NAME, KW_CA_LAST, (char *)c1, (char *)c2);
}
-bool
-starter_cmp_klips(starter_config_t *c1, starter_config_t *c2)
-{
- if ((c1 == NULL) || (c2 == NULL))
- return FALSE;
-
- return cmp_args(KW_KLIPS_FIRST, KW_KLIPS_LAST, (char *)c1, (char *)c2);
-}
-
-bool
-starter_cmp_pluto(starter_config_t *c1, starter_config_t *c2)
-{
- if ((c1 == NULL) || (c2 == NULL))
- return FALSE;
-
- return cmp_args(KW_PLUTO_FIRST, KW_PLUTO_LAST, (char *)c1, (char *)c2);
-}