From b8e901d04fe10f55071c2ffbc300b01eb02f26d5 Mon Sep 17 00:00:00 2001 From: "jpierre%netscape.com" Date: Tue, 3 Aug 2004 23:24:37 +0000 Subject: [PATCH] Fix for 249488 - make Single-Threaded mode work git-svn-id: svn://10.0.0.236/trunk@160324 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/ckfw/mutex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/security/nss/lib/ckfw/mutex.c b/mozilla/security/nss/lib/ckfw/mutex.c index fe8c35e75b2..80f8f9b6150 100644 --- a/mozilla/security/nss/lib/ckfw/mutex.c +++ b/mozilla/security/nss/lib/ckfw/mutex.c @@ -35,7 +35,7 @@ * ***** END LICENSE BLOCK ***** */ #ifdef DEBUG -static const char CVS_ID[] = "@(#) $RCSfile: mutex.c,v $ $Revision: 1.4 $ $Date: 2004-07-29 22:51:00 $ $Name: not supported by cvs2svn $"; +static const char CVS_ID[] = "@(#) $RCSfile: mutex.c,v $ $Revision: 1.5 $ $Date: 2004-08-03 23:24:37 $ $Name: not supported by cvs2svn $"; #endif /* DEBUG */ /* @@ -149,6 +149,7 @@ nssCKFWMutex_Create { default: case SingleThreaded: + *pError = CKR_OK; mutex->Destroy = (CK_DESTROYMUTEX)mutex_noop; mutex->Lock = (CK_LOCKMUTEX )mutex_noop; mutex->Unlock = (CK_UNLOCKMUTEX )mutex_noop;