Searched defs:hPK11 (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/lib/isc/unix/
H A Dpk11_api.c33 static void *hPK11 = NULL; variable
40 if (hPK11 != NULL)
43 hPK11 = dlopen(pk11_get_lib_name(), RTLD_NOW);
45 if (hPK11 == NULL) {
51 sym = (CK_C_Initialize)dlsym(hPK11, "C_Initialize");
66 if (hPK11 == NULL)
68 sym = (CK_C_Finalize)dlsym(hPK11, "C_Finalize");
72 if ((rv == CKR_OK) && (dlclose(hPK11) != 0))
74 hPK11 = NULL;
85 if (hPK11
[all...]
/bind-9.11.3/lib/isc/win32/
H A Dpk11_api.c66 static HINSTANCE hPK11 = NULL; variable
74 if (hPK11 != NULL)
83 hPK11 = LoadLibraryA(lib_name);
85 if (hPK11 == NULL) {
92 sym = (CK_C_Initialize)GetProcAddress(hPK11, "C_Initialize");
107 if (hPK11 == NULL)
109 sym = (CK_C_Finalize)GetProcAddress(hPK11, "C_Finalize");
113 if ((rv == CKR_OK) && (FreeLibrary(hPK11) == 0))
115 hPK11 = NULL;
126 if (hPK11
[all...]

Completed in 37 milliseconds