aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/padlock/padlock_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/plugins/padlock/padlock_plugin.c')
-rw-r--r--src/libstrongswan/plugins/padlock/padlock_plugin.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/padlock/padlock_plugin.c b/src/libstrongswan/plugins/padlock/padlock_plugin.c
index d8461089a..027c53c7b 100644
--- a/src/libstrongswan/plugins/padlock/padlock_plugin.c
+++ b/src/libstrongswan/plugins/padlock/padlock_plugin.c
@@ -134,7 +134,11 @@ plugin_t *padlock_plugin_create()
private_padlock_plugin_t *this;
INIT(this,
- .public.plugin.destroy = _destroy,
+ .public = {
+ .plugin = {
+ .destroy = _destroy,
+ },
+ },
.features = get_padlock_features(),
);