From 7aa47fe5fc9660c280f3afb65fa7cfac83106fcd Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 8 Mar 2020 16:18:22 +0200 Subject: [PATCH] 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 --- src/common/dpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }