jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c
changeset 295 3711f2ad2f6d
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
294:61e9ed3ce684 295:3711f2ad2f6d
   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     /*