diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-25 08:02:09 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-25 08:59:17 +0200 |
commit | 71d02f5b6ca78935df3d09ec0a5817f5870b056e (patch) | |
tree | 9282edc3b122d86e0c82500997acea4d119d60d8 /xmlsecurity/inc | |
parent | 364c828e6ea9e78a145a4ec32a677c7539a913a9 (diff) |
xmlsecurity windows: implement ODF sign/verify with ECDSA keys
By making it possible to use libxmlsec's mscng backend instead of the old
mscrypto one which lacks ECDSA support.
make -sr CppunitTest_xmlsecurity_signing SVL_CRYPTO_CNG=1 CPPUNIT_TEST_NAME="SigningTest::testECDSA"
passes with these changes, while it failed in the SVL_CRYPTO_CNG=1 case previously.
Change-Id: Ic23e5af11d271ed84175abe3d5ad008c7cc9e071
Reviewed-on: https://gerrit.libreoffice.org/56370
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/xmlsec-wrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlsecurity/inc/xmlsec-wrapper.h b/xmlsecurity/inc/xmlsec-wrapper.h index c6edfba935e0..0633bd3c1585 100644 --- a/xmlsecurity/inc/xmlsec-wrapper.h +++ b/xmlsecurity/inc/xmlsec-wrapper.h @@ -31,7 +31,6 @@ #include <xmlsec/base64.h> #include <xmlsec/bn.h> -#include <xmlsec/crypto.h> #include <xmlsec/errors.h> #include <xmlsec/io.h> #include <xmlsec/keysmngr.h> @@ -41,6 +40,8 @@ #include <xmlsec/xmlsec.h> #include <xmlsec/xmltree.h> #ifdef XMLSEC_CRYPTO_NSS +#include <xmlsec/nss/app.h> +#include <xmlsec/nss/crypto.h> #include <xmlsec/nss/pkikeys.h> #endif |