diff --git a/src/charon/plugins/ha_sync/ha_sync_kernel.c b/src/charon/plugins/ha_sync/ha_sync_kernel.c index 199182022..81b853d7a 100644 --- a/src/charon/plugins/ha_sync/ha_sync_kernel.c +++ b/src/charon/plugins/ha_sync/ha_sync_kernel.c @@ -212,8 +212,6 @@ static void destroy(private_ha_sync_kernel_t *this) ha_sync_kernel_t *ha_sync_kernel_create(u_int count, char *virtuals) { private_ha_sync_kernel_t *this = malloc_thing(private_ha_sync_kernel_t); - segment_mask_t active; - int i; this->public.in_segment = (bool(*)(ha_sync_kernel_t*, host_t *host, u_int segment))in_segment; this->public.activate = (void(*)(ha_sync_kernel_t*, u_int segment))activate; diff --git a/src/charon/plugins/ha_sync/ha_sync_socket.c b/src/charon/plugins/ha_sync/ha_sync_socket.c index bc010b76d..cbbe16711 100644 --- a/src/charon/plugins/ha_sync/ha_sync_socket.c +++ b/src/charon/plugins/ha_sync/ha_sync_socket.c @@ -27,50 +27,6 @@ #include typedef struct private_ha_sync_socket_t private_ha_sync_socket_t; -typedef struct ha_backend_t ha_backend_t; -typedef struct ha_creds_t ha_creds_t; - -/** - * Serves credentials for the HA sync SA - */ -struct ha_creds_t { - - /** - * Implements credential_set_t - */ - credential_set_t public; - - /** - * own identity - */ - identification_t *local; - - /** - * peer identity - */ - identification_t *remote; - - /** - * Shared key to serve - */ - shared_key_t *key; -}; - -/** - * Serves configurations for the HA sync SA - */ -struct ha_backend_t { - - /** - * Implements backend_t - */ - backend_t public; - - /** - * peer config we serve - */ - peer_cfg_t *cfg; -}; /** * Private data of an ha_sync_socket_t object.