Fixed eapol_test build after RADIUS API changes (const)
This commit is contained in:
parent
8d06da09a4
commit
8383da8009
1 changed files with 3 additions and 2 deletions
|
@ -599,7 +599,8 @@ static void ieee802_1x_decapsulate_radius(struct eapol_test_data *e)
|
||||||
|
|
||||||
static void ieee802_1x_get_keys(struct eapol_test_data *e,
|
static void ieee802_1x_get_keys(struct eapol_test_data *e,
|
||||||
struct radius_msg *msg, struct radius_msg *req,
|
struct radius_msg *msg, struct radius_msg *req,
|
||||||
u8 *shared_secret, size_t shared_secret_len)
|
const u8 *shared_secret,
|
||||||
|
size_t shared_secret_len)
|
||||||
{
|
{
|
||||||
struct radius_ms_mppe_keys *keys;
|
struct radius_ms_mppe_keys *keys;
|
||||||
|
|
||||||
|
@ -646,7 +647,7 @@ static void ieee802_1x_get_keys(struct eapol_test_data *e,
|
||||||
/* Process the RADIUS frames from Authentication Server */
|
/* Process the RADIUS frames from Authentication Server */
|
||||||
static RadiusRxResult
|
static RadiusRxResult
|
||||||
ieee802_1x_receive_auth(struct radius_msg *msg, struct radius_msg *req,
|
ieee802_1x_receive_auth(struct radius_msg *msg, struct radius_msg *req,
|
||||||
u8 *shared_secret, size_t shared_secret_len,
|
const u8 *shared_secret, size_t shared_secret_len,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
struct eapol_test_data *e = data;
|
struct eapol_test_data *e = data;
|
||||||
|
|
Loading…
Reference in a new issue