merged multi-auth branch back into trunk
This commit is contained in:
@@ -259,9 +259,7 @@ static void set_username_password(private_nm_creds_t *this, identification_t *id
|
||||
{
|
||||
this->lock->write_lock(this->lock);
|
||||
DESTROY_IF(this->user);
|
||||
/* for EAP authentication, we use always use ID_EAP type */
|
||||
this->user = identification_create_from_encoding(ID_EAP,
|
||||
id->get_encoding(id));
|
||||
this->user = id->clone(id);
|
||||
free(this->pass);
|
||||
this->pass = password ? strdup(password) : NULL;
|
||||
this->lock->unlock(this->lock);
|
||||
|
||||
Reference in New Issue
Block a user