From: Jouni Malinen Date: Sun, 8 Mar 2020 14:18:22 +0000 (+0200) Subject: DPP: Fix connectorTemplate addition X-Git-Tag: hostap_2_10~1651 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aa47fe5fc9660c280f3afb65fa7cfac83106fcd;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/common/dpp.c b/src/common/dpp.c index b200d00da..c1ebae1bd 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -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); }