From ca6ab632a8f2dd5b45234f7af9b9f2b40690db89 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Fri, 8 Sep 2017 02:45:30 +0200 Subject: gpg4libre: add sha512 support Change-Id: Ia5ef54e47e8528a33aba83ae2e317fac5cffb428 Reviewed-on: https://gerrit.libreoffice.org/42086 Tested-by: Jenkins Reviewed-by: Thorsten Behrens --- svl/source/crypto/cryptosign.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'svl') 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& 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"); -- cgit