Fix for 249488 - make Single-Threaded mode work

git-svn-id: svn://10.0.0.236/trunk@160324 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jpierre%netscape.com
2004-08-03 23:24:37 +00:00
parent c9f8f983ce
commit b8e901d04f

View File

@@ -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;