From df4fa95d4e13e119a05fa7f367a00d8810659861 Mon Sep 17 00:00:00 2001 From: Malte Timmermann Date: Fri, 16 Jul 2004 15:12:14 +0000 Subject: [PATCH] #i21596# ... --- xmlsecurity/source/helper/xmlsignaturehelper.cxx | 12 +++++++----- 1 file 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(); }