summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmlsecurity/source/helper/xmlsignaturehelper.cxx12
-rw-r--r--xmlsecurity/tools/demo/makefile.mk6
2 files changed, 10 insertions, 8 deletions
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
index 1af50ab8d4c8..d8d4833fae63 100644
--- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlsignaturehelper.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: mmi $ $Date: 2004-07-16 06:51:06 $
+ * last change: $Author: mmi $ $Date: 2004-07-16 10:19:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -76,9 +76,11 @@
#include <tools/date.hxx>
#include <tools/time.hxx>
+#if 0
//MM : search for the default profile
#include <unotools/streamhelper.hxx>
//MM : end
+#endif
/* SEInitializer component */
#define SEINITIALIZER_COMPONENT "com.sun.star.xml.crypto.SEInitializer"
@@ -111,6 +113,7 @@ bool XMLSignatureHelper::Init( const rtl::OUString& rTokenPath )
ImplCreateSEInitializer();
+#if 0
//MM : search for the default profile
rtl::OUString tokenPath = rTokenPath;
@@ -151,10 +154,9 @@ bool XMLSignatureHelper::Init( const rtl::OUString& rTokenPath )
}
mxSecurityContext = mxSEInitializer->createSecurityContext( tokenPath );
//MM : end
+#endif
- //MM : search for the default profile
- //mxSecurityContext = mxSEInitializer->createSecurityContext( rTokenPath );
- //MM : end
+ mxSecurityContext = mxSEInitializer->createSecurityContext( rTokenPath );
return mxSecurityContext.is();
}
diff --git a/xmlsecurity/tools/demo/makefile.mk b/xmlsecurity/tools/demo/makefile.mk
index 7433c104ca3b..305d9abee1fd 100644
--- a/xmlsecurity/tools/demo/makefile.mk
+++ b/xmlsecurity/tools/demo/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: mmi $ $Date: 2004-07-14 08:12:30 $
+# last change: $Author: mmi $ $Date: 2004-07-16 10:19:25 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -94,7 +94,7 @@ SHARE_LIBS = \
.IF "$(GUI)"=="WNT"
SHARE_LIBS+= "ixml2.lib" "nss3.lib" "nspr4.lib" "xmlsec.lib" "xmlsec-nss.lib" "helper.lib" "xsec_xmlsec.lib"
.ELSE
-SHARE_LIBS+= "-lxml2" "-lnss3" "-lnspr4" "-lxmlsec" "-lxmlsec-nss" "-lhelper" "-lxsec_xmlsec"
+SHARE_LIBS+= "-lxml2" "-lnss3" "-lnspr4" "-lxmlsec" "-lxmlsec-nss" "helper.lib" "-lxsec_xmlsec"
.ENDIF
SHARE_OBJS = \