From d3ff02c25c4d5992e63d3e990003efbb4ad34a61 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Mon, 28 Jan 2008 12:54:42 +0000 Subject: [PATCH] INTEGRATION: CWS jl84_SRC680 (1.19.14); FILE MERGED 2008/01/15 12:37:53 jl 1.19.14.1: #i85041# crash when showing the macro security dialog --- xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx index 49ec735dd16c..24d221354c15 100644 --- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: seinitializer_nssimpl.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: rt $ $Date: 2007-11-07 10:07:25 $ + * last change: $Author: vg $ $Date: 2008-01-28 13:54:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -108,8 +108,8 @@ bool nsscrypto_initialize( const char* token ) { char * error = NULL; PR_GetErrorText(error); - - printf("%s",error); + if (error) + printf("%s",error); return false ; } initialized = 1 ;