From 93e33ba279e837356e157745177d7f6061d442b7 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 29 May 2018 20:54:52 +0200 Subject: xmlsecurity windows: let cert picker and PDF sign find ECDSA keys Need to incrementally migrate the remaining places (ODF, OOXML signing) to CNG, then flip the default. SVL_CRYPTO_CNG=1 is needed till then. (The testcase passes with and without the fix when SVL_CRYPTO_CNG is not specified; it fails without the fix when SVL_CRYPTO_CNG is specified.) Change-Id: Ide9d3b109bbd955a9cb83b18bba6aa72269f4d34 Reviewed-on: https://gerrit.libreoffice.org/55030 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- include/svl/cryptosign.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/svl/cryptosign.hxx') diff --git a/include/svl/cryptosign.hxx b/include/svl/cryptosign.hxx index eacb4d78af25..b70b995b23b9 100644 --- a/include/svl/cryptosign.hxx +++ b/include/svl/cryptosign.hxx @@ -86,6 +86,9 @@ private: OUString m_aSignPassword; }; +/// Decides if SVL_CRYPTO_MSCRYPTO uses the new CNG API or not. +SVL_DLLPUBLIC bool isMSCng(); + } } -- cgit