Clear Coverity UNINIT_CTOR (CID 177739)
This was a valid finding, but the only way to get into the codepath leaving the hash unkeyed.pull/398/head
parent
80bbc834fe
commit
690baaae97
|
|
@ -56,6 +56,10 @@ public:
|
||||||
return std::string(SipHash_Info<T_128bit>::StaticAlgorithmName())+"-"+IntToString(C)+"-"+IntToString(D);
|
return std::string(SipHash_Info<T_128bit>::StaticAlgorithmName())+"-"+IntToString(C)+"-"+IntToString(D);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual ~SipHash_Base() {}
|
||||||
|
|
||||||
|
SipHash_Base() : m_idx(0) {}
|
||||||
|
|
||||||
virtual unsigned int DigestSize() const
|
virtual unsigned int DigestSize() const
|
||||||
{return SipHash_Info<T_128bit>::DIGESTSIZE;}
|
{return SipHash_Info<T_128bit>::DIGESTSIZE;}
|
||||||
virtual size_t MinKeyLength() const
|
virtual size_t MinKeyLength() const
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue