ERP: Do not generate ERP keys when domain name is not specified
This commit adds changes to not generate ERP information if the domain name is not specified in the EAP identity. keyName-NAI needs the realm part and as such, it is reasonable to require the main EAP configuration to provide that realm. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
0a0c4dc1d7
commit
4aa329298d
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ static char * eap_get_realm(struct eap_sm *sm, struct eap_peer_config *config)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return os_strdup("");
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue