Skip to content

Commit

Permalink
Enable usage cklog2 library when option _KMU_DEBUG is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
schapellier committed Aug 21, 2024
1 parent 418f67c commit 499fd6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkcs11/src/p11.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,18 @@ void* LibHandle = NULL;

const char p11_libvar[] = "ChrystokiConfigurationPath";
#ifdef _WIN32
#ifdef _KMU_DEBUG
const char p11_luna_library[] = "cklog201.dll";
#else
const char p11_luna_library[] = "cryptoki.dll";
#endif
const char p11_entension[] = ".dll";
#else
#ifdef _KMU_DEBUG
const char p11_luna_library[] = "libcklog2.so";
#else
const char p11_luna_library[] = "libCryptoki2_64.so";
#endif
const char p11_entension[] = ".so";
#endif

Expand Down

0 comments on commit 499fd6b

Please sign in to comment.