diff options
author | Martin Willi <martin@revosec.ch> | 2010-08-18 12:15:03 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-08-18 12:15:03 +0200 |
commit | ba31fe1fd65feba781434ee4fabd9b1fd6432ecb (patch) | |
tree | 3d7073eb9bb51512d073eeccd3f0b3b5d32e1ff5 /src/libstrongswan/plugins/blowfish/blowfish_plugin.c | |
parent | 53115857ae5f3b25e889f394de0c61e7cc455c74 (diff) | |
download | strongswan-ba31fe1fd65feba781434ee4fabd9b1fd6432ecb.tar.bz2 strongswan-ba31fe1fd65feba781434ee4fabd9b1fd6432ecb.tar.xz |
Use a seperate section for each nested struct member in INIT macro
Diffstat (limited to 'src/libstrongswan/plugins/blowfish/blowfish_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/blowfish/blowfish_plugin.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/blowfish/blowfish_plugin.c b/src/libstrongswan/plugins/blowfish/blowfish_plugin.c index b4b92c8c5..6ab093d7b 100644 --- a/src/libstrongswan/plugins/blowfish/blowfish_plugin.c +++ b/src/libstrongswan/plugins/blowfish/blowfish_plugin.c @@ -48,7 +48,11 @@ plugin_t *blowfish_plugin_create() private_blowfish_plugin_t *this; INIT(this, - .public.plugin.destroy = _destroy, + .public = { + .plugin = { + .destroy = _destroy, + }, + }, ); lib->crypto->add_crypter(lib->crypto, ENCR_BLOWFISH, |