[Libreoffice-commits] core.git: oox/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Jul 14 14:02:59 UTC 2018
oox/source/crypto/CryptTools.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 67498b7025be9781d4f941ce5f9f6384b34fce4f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jul 14 15:01:40 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jul 14 15:01:40 2018 +0100
fix oss-fuzz build
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9301
Change-Id: Iceb25764c483e20f09fe976d1271987643990aaf
diff --git a/oox/source/crypto/CryptTools.cxx b/oox/source/crypto/CryptTools.cxx
index 1f280b1c1196..d346fceb12fc 100644
--- a/oox/source/crypto/CryptTools.cxx
+++ b/oox/source/crypto/CryptTools.cxx
@@ -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
More information about the Libreoffice-commits
mailing list