Kaydet (Commit) 67498b70 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix oss-fuzz build

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9301

Change-Id: Iceb25764c483e20f09fe976d1271987643990aaf
üst 4247120b
......@@ -396,7 +396,7 @@ std::vector<sal_uInt8> CryptoHash::finalize()
std::vector<sal_uInt8> aHash(mnHashSize, 0);
unsigned int nSizeWritten;
#if USE_TLS_OPENSSL
(void) HMAC_Final(mpImpl->mpHmacContext.get(), aHash.data(), &nSizeWritten) != 0;
(void) HMAC_Final(mpImpl->mpHmacContext.get(), aHash.data(), &nSizeWritten);
#elif USE_TLS_NSS
PK11_DigestFinal(mpImpl->mContext, aHash.data(), &nSizeWritten, aHash.size());
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment