diff options
| author | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-03-08 22:36:06 +0100 |
|---|---|---|
| committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2012-03-13 16:27:17 +0100 |
| commit | b3ec6521924b137d7d8a7f67e07907662a112e81 (patch) | |
| tree | 1c400fddc3e146bc2f7a22d487d573cfa356229a /src/libcharon/plugins | |
| parent | 4fc6c7d44252040f987f434670cffa5a773930b1 (diff) | |
| download | strongswan-b3ec6521924b137d7d8a7f67e07907662a112e81.tar.bz2 strongswan-b3ec6521924b137d7d8a7f67e07907662a112e81.tar.xz | |
added msg_auth flag in radius_message_t sign() method
Diffstat (limited to 'src/libcharon/plugins')
| -rw-r--r-- | src/libcharon/plugins/eap_radius/eap_radius_dae.c | 2 | ||||
| -rw-r--r-- | src/libcharon/plugins/tnc_pdp/tnc_pdp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/eap_radius/eap_radius_dae.c b/src/libcharon/plugins/eap_radius/eap_radius_dae.c index 1cc19afaa..5823142cc 100644 --- a/src/libcharon/plugins/eap_radius/eap_radius_dae.c +++ b/src/libcharon/plugins/eap_radius/eap_radius_dae.c @@ -190,7 +190,7 @@ static void send_response(private_eap_radius_dae_t *this, response = radius_message_create(code); response->set_identifier(response, request->get_identifier(request)); response->sign(response, request->get_authenticator(request), - this->secret, this->hasher, this->signer, NULL); + this->secret, this->hasher, this->signer, NULL, FALSE); send_message(this, response, client); save_retransmit(this, response, client); diff --git a/src/libcharon/plugins/tnc_pdp/tnc_pdp.c b/src/libcharon/plugins/tnc_pdp/tnc_pdp.c index 0edecc845..2e330e7c2 100644 --- a/src/libcharon/plugins/tnc_pdp/tnc_pdp.c +++ b/src/libcharon/plugins/tnc_pdp/tnc_pdp.c @@ -183,7 +183,7 @@ static void send_response(private_tnc_pdp_t *this, } response->set_identifier(response, request->get_identifier(request)); response->sign(response, request->get_authenticator(request), - this->secret, this->hasher, this->signer, NULL); + this->secret, this->hasher, this->signer, NULL, TRUE); DBG1(DBG_CFG, "sending RADIUS %N to client '%H'", radius_message_code_names, code, client); |
