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:
parent
9180ae8662
commit
ec83c728ad
@ -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.
|
||||
|
||||
|
||||
|
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user