PKCS#11: Spec does not allow CKR_DEVICE_ERROR from C_Initialize
git-svn-id: https://www.opensc-project.org/svnp/opensc/branches/martin/0.12@3725 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
847e0ade96
commit
446fe0f18d
|
@ -203,7 +203,7 @@ CK_RV C_Initialize(CK_VOID_PTR pInitArgs)
|
|||
|
||||
rc = sc_context_create(&context, &ctx_opts);
|
||||
if (rc != SC_SUCCESS) {
|
||||
rv = CKR_DEVICE_ERROR;
|
||||
rv = CKR_GENERAL_ERROR;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue