This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch AOO41X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO41X by this push:
new 8167b39 Fix regression
8167b39 is described below
commit 8167b394bd75b0ba1462b5f1ed80a6d339d0f4ec
Author: Dave Fisher <[email protected]>
AuthorDate: Thu Sep 16 11:06:36 2021 -0700
Fix regression
---
main/xmlsecurity/source/helper/xsecverify.cxx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/main/xmlsecurity/source/helper/xsecverify.cxx
b/main/xmlsecurity/source/helper/xsecverify.cxx
index 4cc3870..55d8a19 100644
--- a/main/xmlsecurity/source/helper/xsecverify.cxx
+++ b/main/xmlsecurity/source/helper/xsecverify.cxx
@@ -220,7 +220,10 @@ void XSecController::setDate( rtl::OUString& ouDate )
{
InternalSignatureInformation &isi =
m_vInternalSignatureInformations[m_vInternalSignatureInformations.size()-1];
convertDateTime( isi.signatureInfor.stDateTime, ouDate );
+ isi.signatureInfor.ouDateTime = ouDate;
+ /* When signing with the following code we get a 0 date time.
setIfEmpty(isi.signatureInfor.ouDateTime, ouDate);
+ */
}
/*