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:
martin 2009-09-14 08:59:58 +00:00
parent 847e0ade96
commit 446fe0f18d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}