diff --git a/CASA-auth-token/non-java/client/engine.c b/CASA-auth-token/non-java/client/engine.c index e1a3e3cf..827fa441 100644 --- a/CASA-auth-token/non-java/client/engine.c +++ b/CASA-auth-token/non-java/client/engine.c @@ -574,7 +574,6 @@ ObtainAuthToken( } } - // Try to return auth token if we have one to return if (CASA_SUCCESS(retStatus)) { @@ -585,7 +584,7 @@ ObtainAuthToken( if (*pAuthTokenBufLen >= tokenLen) { // Return the auth token to the caller - DbgTrace(0, "-ObtainAuthToken- Copying the token into the callers buffer\n", 0); + DbgTrace(2, "-ObtainAuthToken- Copying the token into the callers buffer\n", 0); strcpy(pAuthTokenBuf, pCacheEntry->token); } else @@ -622,7 +621,6 @@ exit: { DestroyUserMutex(hUserMutex); } - DbgTrace(1, "-ObtainAuthToken- End, retStatus = %08X\n", retStatus); return retStatus; diff --git a/CASA-auth-token/non-java/client/test/CASA_Auth.cpp b/CASA-auth-token/non-java/client/test/CASA_Auth.cpp index 378da8ef..013e95b0 100644 --- a/CASA-auth-token/non-java/client/test/CASA_Auth.cpp +++ b/CASA-auth-token/non-java/client/test/CASA_Auth.cpp @@ -147,7 +147,7 @@ EncodeData( void NonHttpTest(void) { CasaStatus retStatus; - char authToken[4096]; + char authToken[8192]; int authTokenLen = sizeof(authToken); // Obtain an authentication token for the testService