Browse Source

The lib names on z/OS are different

master
David Lanzendörfer 2 months ago
parent
commit
f016a7c0b0
1 changed files with 6 additions and 10 deletions
  1. +6
    -10
      src/e_pkcs11.c

+ 6
- 10
src/e_pkcs11.c View File

@ -739,18 +739,14 @@ static CK_BBOOL Bull_TrustWay = FALSE;
#undef GPKCS11 /* use GPKCS11 software crypto */
#if defined(BULL_CC2000)
static const char def_PKCS11_LIBNAME[] = "gpkcs11cc2000";
#elif defined(BULL_CRYPTOBOX)
static const char def_PKCS11_LIBNAME[] = "cryptobox_clnt";
extern CK_RV C_InitializeRpc (CK_CHAR_PTR, CK_CHAR_PTR, CK_ULONG_PTR);
#elif defined(GPKCS11)
static const char def_PKCS11_LIBNAME[] = "gpkcs11";
#elif defined(OPENCRYPTOKI)
static char *def_PKCS11_LIBNAME = "libopencryptoki.so";
#ifdef _LP64
static const char def_PKCS11_LIBNAME[] = "CSNPCA64";
#elif __XPLINK__ /* @P1C */
static const char def_PKCS11_LIBNAME[] = "CSNPCA3X"; /* @D2A */
#else
static const char def_PKCS11_LIBNAME[] = "pkcs11";
static const char def_PKCS11_LIBNAME[] = "CSNPCAPI";
#endif
static const char PKCS11_GET_FUNCTION_LIST[] = "C_GetFunctionList";
/* Size of an SSL signature: MD5+SHA1. up to allow SHA512 */


Loading…
Cancel
Save