summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/source/crypto/cryptosign.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 1e284506de01..1d6337845569 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -971,8 +971,8 @@ bool Signing::Sign(OStringBuffer& rCMSHexBuffer)
digest.len = aHashResult.size();
PRTime now = PR_Now();
- NSSCMSSignedData *cms_sd;
- NSSCMSSignerInfo *cms_signer;
+ NSSCMSSignedData *cms_sd(nullptr);
+ NSSCMSSignerInfo *cms_signer(nullptr);
NSSCMSMessage *cms_msg = CreateCMSMessage(nullptr, &cms_sd, &cms_signer, cert, &digest);
if (!cms_msg)
return false;