some simplifications using the INIT macro

This commit is contained in:
Andreas Steffen
2010-08-17 20:09:32 +02:00
parent f9a2d4bfcb
commit 53115857ae
3 changed files with 19 additions and 25 deletions
@@ -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,