From 18952661bb6bda1dcc4c8d07e363af5df1d64954 Mon Sep 17 00:00:00 2001 From: Jean-Francois Penven <67962328+jepenven-silabs@users.noreply.github.com> Date: Mon, 3 Jan 2022 15:58:11 -0500 Subject: [PATCH] Fix build failure (#13302) --- src/credentials/DeviceAttestationConstructor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/credentials/DeviceAttestationConstructor.cpp b/src/credentials/DeviceAttestationConstructor.cpp index 465363bef24f38..8a13419bf5f699 100644 --- a/src/credentials/DeviceAttestationConstructor.cpp +++ b/src/credentials/DeviceAttestationConstructor.cpp @@ -236,7 +236,7 @@ CHIP_ERROR DeconstructNOCSRElements(const ByteSpan & nocsrElements, ByteSpan & c vendor_reserved1 = vendor_reserved2 = vendor_reserved3 = ByteSpan(); tlvReader.Init(nocsrElements); - ReturnErrorOnFailure(tlvReader.Next(containerType, TLV::AnonymousTag)); + ReturnErrorOnFailure(tlvReader.Next(containerType, TLV::AnonymousTag())); ReturnErrorOnFailure(tlvReader.EnterContainer(containerType)); CHIP_ERROR error;