aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/authenticators/eap_authenticator.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-08-17 20:09:32 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-08-17 20:09:32 +0200
commit53115857ae5f3b25e889f394de0c61e7cc455c74 (patch)
treef443f4008406a00d076e4ceb470c5a366434902e /src/libcharon/sa/authenticators/eap_authenticator.c
parentf9a2d4bfcbf697abbf4c90234b5e7bf0d88d1db1 (diff)
downloadstrongswan-53115857ae5f3b25e889f394de0c61e7cc455c74.tar.bz2
strongswan-53115857ae5f3b25e889f394de0c61e7cc455c74.tar.xz
some simplifications using the INIT macro
Diffstat (limited to 'src/libcharon/sa/authenticators/eap_authenticator.c')
-rw-r--r--src/libcharon/sa/authenticators/eap_authenticator.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/libcharon/sa/authenticators/eap_authenticator.c b/src/libcharon/sa/authenticators/eap_authenticator.c
index 2ad9fd278..23105f640 100644
--- a/src/libcharon/sa/authenticators/eap_authenticator.c
+++ b/src/libcharon/sa/authenticators/eap_authenticator.c
@@ -674,13 +674,11 @@ eap_authenticator_t *eap_authenticator_create_verifier(ike_sa_t *ike_sa,
private_eap_authenticator_t *this;
INIT(this,
- .public = {
- .authenticator = {
- .build = _build_server,
- .process = _process_server,
- .is_mutual = _is_mutual,
- .destroy = _destroy,
- },
+ .public.authenticator = {
+ .build = _build_server,
+ .process = _process_server,
+ .is_mutual = _is_mutual,
+ .destroy = _destroy,
},
.ike_sa = ike_sa,
.received_init = received_init,