summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2004-07-16 15:12:14 +0000
committerMalte Timmermann <mt@openoffice.org>2004-07-16 15:12:14 +0000
commitdf4fa95d4e13e119a05fa7f367a00d8810659861 (patch)
treece3a14ccb6d680d1443c959697c96db3ecd8e710 /xmlsecurity/source
parent6c64a3eca35bd93197fb976fbce371409bd245da (diff)
#i21596# ...
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/helper/xmlsignaturehelper.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
index bbccd0ef711a..e49cd44ffd99 100644
--- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx
+++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmlsignaturehelper.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: mmi $ $Date: 2004-07-16 10:49:55 $
+ * last change: $Author: mt $ $Date: 2004-07-16 16:12:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -151,10 +151,12 @@ bool XMLSignatureHelper::Init( const rtl::OUString& rTokenPath )
}
}
+#ifndef WNT
+ // MT: HACK for testing
+ if ( !tokenPath.getLength() )
+ tokenPath = rtl::OUString::createFromAscii("/tmp/nss");
+#endif
mxSecurityContext = mxSEInitializer->createSecurityContext( tokenPath );
- //MM : end
-
- //mxSecurityContext = mxSEInitializer->createSecurityContext( rTokenPath );
return mxSecurityContext.is();
}