[Libreoffice-commits] core.git: xmlsecurity/source

Miklos Vajna vmiklos at collabora.co.uk
Thu Mar 24 16:44:52 UTC 2016


 xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit d78e644679be47d96bbb2e9d5909f2b559fa29c4
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Mar 24 15:29:13 2016 +0100

    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 at libreoffice.org>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.cxx
index 7e27daf..797cf9a 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 ;


More information about the Libreoffice-commits mailing list