removed potential uninitialized memory read in TlvKey item.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7054 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-01-24 13:39:55 +00:00
parent fd682ed23d
commit f198f9c784

View File

@ -380,7 +380,7 @@ std::ostream &RsTlvSecurityKeySet::print(std::ostream &out, uint16_t indent)
RsTlvKeySignature::RsTlvKeySignature()
:RsTlvItem(), signData(TLV_TYPE_SIGN_RSA_SHA1)
{
return;
ShallowClear() ; // avoids uninitialized memory if the fields are not initialized.
}
void RsTlvKeySignature::TlvClear()