equal
deleted
inserted
replaced
121 if (jGetFunctionList != NULL) { |
121 if (jGetFunctionList != NULL) { |
122 getFunctionListStr = (*env)->GetStringUTFChars(env, jGetFunctionList, 0); |
122 getFunctionListStr = (*env)->GetStringUTFChars(env, jGetFunctionList, 0); |
123 C_GetFunctionList = (CK_C_GetFunctionList) dlsym(hModule, getFunctionListStr); |
123 C_GetFunctionList = (CK_C_GetFunctionList) dlsym(hModule, getFunctionListStr); |
124 (*env)->ReleaseStringUTFChars(env, jGetFunctionList, getFunctionListStr); |
124 (*env)->ReleaseStringUTFChars(env, jGetFunctionList, getFunctionListStr); |
125 } |
125 } |
126 if ((C_GetFunctionList == NULL) || ((systemErrorMessage = dlerror()) != NULL)){ |
126 if (C_GetFunctionList == NULL) { |
|
127 throwIOException(env, "ERROR: C_GetFunctionList == NULL"); |
|
128 return; |
|
129 } else if ( (systemErrorMessage = dlerror()) != NULL ){ |
127 throwIOException(env, systemErrorMessage); |
130 throwIOException(env, systemErrorMessage); |
128 return; |
131 return; |
129 } |
132 } |
130 |
133 |
131 /* |
134 /* |