summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-03-24 15:29:13 +0100
committerAndras Timar <andras.timar@collabora.com>2016-07-07 22:09:47 +0200
commit2c14528d5c9452d9cdbfbf31ebc328e7ae3dc0a9 (patch)
tree3f893d6b8deedb84704ef84afa770941bb8cc227 /xmlsecurity
parentd9b6ad42b25200143a2c85c093a81d22645fdd0e (diff)
xmlsecurity: fix Windows XP build
xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx(511) : error C2065: ´CERT_SHA256_HASH_PROP_ID´ : undeclared identifier Change-Id: I644d6797d81a506ca9b91d83eead16503af93905 Reviewed-on: https://gerrit.libreoffice.org/23494 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> (cherry picked from commit d78e644679be47d96bbb2e9d5909f2b559fa29c4)
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
index a15872e28b04..8230ea14403e 100644
--- a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
+++ b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
@@ -33,6 +33,11 @@
#include <utility>
#include <tools/time.hxx>
+// Needed only for Windows XP.
+#ifndef CERT_SHA256_HASH_PROP_ID
+#define CERT_SHA256_HASH_PROP_ID 107
+#endif
+
using namespace com::sun::star;
using namespace ::com::sun::star::uno ;
using namespace ::com::sun::star::security ;