diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-24 15:29:13 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2016-03-24 16:44:21 +0000 |
commit | d78e644679be47d96bbb2e9d5909f2b559fa29c4 (patch) | |
tree | 21c7873a5b8fa3d77084bcba8ed862287c693d57 /xmlsecurity | |
parent | f0cce530862e22823ae65977ea2972809237c28e (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>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx | 5 |
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 7e27dafd008d..797cf9a7e4dc 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 ; |