summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-14 15:01:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-14 15:01:40 +0100
commit67498b7025be9781d4f941ce5f9f6384b34fce4f (patch)
tree896eda999301ca714cb28dc148c016b0959df97f /oox
parent4247120b0edc0429a228dc8ea0ea820aa2f09214 (diff)
fix oss-fuzz build
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9301 Change-Id: Iceb25764c483e20f09fe976d1271987643990aaf
Diffstat (limited to 'oox')
-rw-r--r--oox/source/crypto/CryptTools.cxx2
1 files changed, 1 insertions, 1 deletions
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