summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2017-09-08 02:45:30 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2017-09-10 01:42:55 +0200
commitca6ab632a8f2dd5b45234f7af9b9f2b40690db89 (patch)
tree94a253663d0715ec70da7633ab58819ac136f4fc /svl
parent6edd48993bf345baf973c134d859b50ad13fd18a (diff)
gpg4libre: add sha512 support
Change-Id: Ia5ef54e47e8528a33aba83ae2e317fac5cffb428 Reviewed-on: https://gerrit.libreoffice.org/42086 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/crypto/cryptosign.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svl/source/crypto/cryptosign.cxx b/svl/source/crypto/cryptosign.cxx
index 891b563e7c92..952cdf5e0b6b 100644
--- a/svl/source/crypto/cryptosign.cxx
+++ b/svl/source/crypto/cryptosign.cxx
@@ -2053,6 +2053,7 @@ bool Signing::Verify(const std::vector<unsigned char>& aData,
break;
case SEC_OID_SHA512:
nMaxResultLen = msfilter::SHA512_HASH_LENGTH;
+ rInformation.nDigestID = xml::crypto::DigestID::SHA512;
break;
default:
SAL_WARN("svl.crypto", "ValidateSignature: unrecognized algorithm");