Skip to content

Commit

Permalink
chip-cert/convert-key: fix writing CHIP TLV format key (#18165)
Browse files Browse the repository at this point in the history
  • Loading branch information
kghost authored and pull[bot] committed Sep 7, 2023
1 parent 92082fe commit 1525516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/chip-cert/KeyUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ bool WritePrivateKey(const char * fileName, EVP_PKEY * key, KeyFormat keyFmt)
}
else
{
keyToWrite = chipKey.get();
keyToWrite = serializedKeypair.Bytes();
keyToWriteLen = static_cast<uint32_t>(serializedKeypair.Length());
}

Expand Down

0 comments on commit 1525516

Please sign in to comment.