Fixed issues found when testing the auth.policy mechanism_info changes
for the Krb5 and the Pwd mechanisms using a linux client.
This commit is contained in:
@@ -61,7 +61,7 @@ StaticLockFunction(
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
DbgTrace(3, "-StaticLockFunction- Start\n", 0);
|
||||
DbgTrace(4, "-StaticLockFunction- Start\n", 0);
|
||||
|
||||
// Verify that the lock number is within range
|
||||
if (n < g_numStaticLocks
|
||||
@@ -84,7 +84,7 @@ StaticLockFunction(
|
||||
DbgTrace(0, "-StaticLockFunction- n out of range\n", 0);
|
||||
}
|
||||
|
||||
DbgTrace(3, "-StaticLockFunction- End\n", 0);
|
||||
DbgTrace(4, "-StaticLockFunction- End\n", 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ DynLockFunction(
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
DbgTrace(3, "-DynLockFunction- Start\n", 0);
|
||||
DbgTrace(4, "-DynLockFunction- Start\n", 0);
|
||||
|
||||
if (l)
|
||||
{
|
||||
@@ -128,7 +128,7 @@ DynLockFunction(
|
||||
DbgTrace(0, "-DynLockFunction- Invalid parameter\n", 0);
|
||||
}
|
||||
|
||||
DbgTrace(3, "-DynLockFunction- End\n", 0);
|
||||
DbgTrace(4, "-DynLockFunction- End\n", 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ CreateDynLockFunction(
|
||||
{
|
||||
struct CRYPTO_dynlock_value *l;
|
||||
|
||||
DbgTrace(1, "-CreateDynLockFunction- Start\n", 0);
|
||||
DbgTrace(3, "-CreateDynLockFunction- Start\n", 0);
|
||||
|
||||
// Allocate space for the lock
|
||||
l = (struct CRYPTO_dynlock_value*) malloc(sizeof(pthread_mutex_t));
|
||||
@@ -164,7 +164,7 @@ CreateDynLockFunction(
|
||||
DbgTrace(0, "-CreateDynLockFunction- Buffer allocation failure\n", 0);
|
||||
}
|
||||
|
||||
DbgTrace(1, "-CreateDynLockFunction- End, l = %0lX\n", (long) l);
|
||||
DbgTrace(3, "-CreateDynLockFunction- End, l = %0lX\n", (long) l);
|
||||
|
||||
return l;
|
||||
}
|
||||
@@ -188,7 +188,7 @@ DestroyDynLockFunction(
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
DbgTrace(1, "-DestroyDynLockFunction- Start, l = %0lX\n", (long) l);
|
||||
DbgTrace(3, "-DestroyDynLockFunction- Start, l = %0lX\n", (long) l);
|
||||
|
||||
if (l)
|
||||
{
|
||||
@@ -196,7 +196,7 @@ DestroyDynLockFunction(
|
||||
free(l);
|
||||
}
|
||||
|
||||
DbgTrace(1, "-DestroyDynLockFunction- End\n", 0);
|
||||
DbgTrace(3, "-DestroyDynLockFunction- End\n", 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -217,11 +217,11 @@ ThreadIdFunction(void)
|
||||
{
|
||||
unsigned long threadId;
|
||||
|
||||
DbgTrace(3, "-ThreadIdFunction- Start\n", 0);
|
||||
DbgTrace(4, "-ThreadIdFunction- Start\n", 0);
|
||||
|
||||
threadId = (unsigned long) pthread_self();
|
||||
|
||||
DbgTrace(3, "-ThreadIdFunction- End, id = %0lX\n", threadId);
|
||||
DbgTrace(4, "-ThreadIdFunction- End, id = %0lX\n", threadId);
|
||||
|
||||
return threadId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user