Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 104666b

Browse files
authored
Merge pull request #298 from openweave/feature/emargolis/fix-typo-in-convert-extension
Fixed Typo In The ConvertExtension() Function.
2 parents 37dd004 + 2bb1b01 commit 104666b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/profiles/security/X509ToWeave.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ static WEAVE_ERROR ConvertExtension(ASN1Reader& reader, TLVWriter& writer)
434434

435435
if (critical)
436436
{
437-
err = writer.PutBoolean(ContextTag(kTag_SubjectKeyIdentifier_Critical), critical);
437+
err = writer.PutBoolean(ContextTag(kTag_KeyUsage_Critical), critical);
438438
SuccessOrExit(err);
439439
}
440440

0 commit comments

Comments
 (0)