DPP: Fix connectorTemplate addition
There was a copy-paste error in this code that would be adding the connectorTemplate once that becomes available. In practice, this was not reachable code, but anyway, this should be ready for potential addition of connectorTemplate in the future. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
fe0429a589
commit
7aa47fe5fc
1 changed files with 1 additions and 1 deletions
|
@ -5230,7 +5230,7 @@ static struct wpabuf * dpp_build_conf_params(void)
|
|||
|
||||
asn1_put_utf8string(buf, conf_template);
|
||||
if (connector_template)
|
||||
asn1_put_utf8string(buf, conf_template);
|
||||
asn1_put_utf8string(buf, connector_template);
|
||||
return asn1_encaps(buf, ASN1_CLASS_UNIVERSAL, ASN1_TAG_SEQUENCE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue