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:
Jouni Malinen 2020-03-08 16:18:22 +02:00
parent fe0429a589
commit 7aa47fe5fc

View file

@ -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);
}