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 May 7, 2022
1 parent c52a030 commit fde9077
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 fde9077

Please sign in to comment.