Silence debug messages by default for upcoming release

README update


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@190 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2002-01-24 12:56:08 +00:00
parent 9180ae8662
commit ec83c728ad
2 changed files with 4 additions and 5 deletions

View File

@ -33,8 +33,3 @@ Notes
Netscape seems to show more information about the security module
than mozilla. Otherwise all stuff is untested.
Please note that the library currently writes debug log to
/tmp/opensc-pkcs11.log.

View File

@ -40,7 +40,11 @@ CK_RV C_Initialize(CK_VOID_PTR pReserved)
rc = sc_establish_context(&context);
if (rc != 0)
return CKR_DEVICE_ERROR;
#ifdef DEBUG
context->use_std_output = 1;
#else
context->use_std_output = 0;
#endif
pool_initialize(&session_pool);
for (i=0; i<SC_PKCS11_MAX_VIRTUAL_SLOTS; i++)