sw/source/core/edit/edfcol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5b6c69a666e9a22c369ac7dff0f5a6c4470b4a71 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Thu Aug 31 21:50:51 2017 -0400 sw: paragraph signatures are detached While for NSS both types of verification works, for CryptoAPI only detached works. Change-Id: I8de0d7a98c2f857511eeadd2c8e205bc86a71f93 Reviewed-on: https://gerrit.libreoffice.org/41791 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx index 9f3389b394b8..17eeea9847b5 100644 --- a/sw/source/core/edit/edfcol.cxx +++ b/sw/source/core/edit/edfcol.cxx @@ -237,7 +237,7 @@ lcl_MakeParagraphSignatureFieldText(const uno::Reference<frame::XModel>& xModel, { const std::vector<unsigned char> sig(svl::crypto::DecodeHexString(encSignature)); SignatureInformation aInfo(0); - valid = svl::crypto::Signing::Verify(data, true, sig, aInfo); + valid = svl::crypto::Signing::Verify(data, false, sig, aInfo); valid = valid && aInfo.nStatus == css::xml::crypto::SecurityOperationStatus_OPERATION_SUCCEEDED; msg = SwResId(STR_SIGNED_BY) + ": " + aInfo.ouSubject + ", " + aInfo.ouDateTime + ": "; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits