added msg_auth flag in radius_message_t sign() method
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user