d795e80599
- ocki-3.5-icsf-reasoncode72-support.patch - ocki-3.5-icsf-coverity-memoryleakfix.patch - ocki-3.5-downgrade-syslogerror.patch - ocki-3.5-icsf-sessionhandle-missing-fix.patch - ocki-3.5-icsf-reasoncode-2028-added.patch - ocki-3.5-added-NULLreturn-check.patch OBS-URL: https://build.opensuse.org/package/show/security/openCryptoki?expand=0&rev=37
20 lines
716 B
Diff
20 lines
716 B
Diff
commit 165a1020da10ddbdc39e51e9a411a5c09f6dbae6
|
|
Author: Vineetha Pai <vpishar@us.ibm.com>
|
|
Date: Thu May 19 16:46:51 2016 -0400
|
|
|
|
Added pkcs11 mapping for icsf reason code 72 for return code 8
|
|
Signed-off-by: Vineetha Pai <vpishar@us.ibm.com>
|
|
|
|
diff --git a/usr/lib/pkcs11/icsf_stdll/icsf_specific.c b/usr/lib/pkcs11/icsf_stdll/icsf_specific.c
|
|
index d71b19f..5b7fb45 100644
|
|
--- a/usr/lib/pkcs11/icsf_stdll/icsf_specific.c
|
|
+++ b/usr/lib/pkcs11/icsf_stdll/icsf_specific.c
|
|
@@ -258,6 +258,7 @@ int icsf_to_ock_err(int icsf_return_code, int icsf_reason_code)
|
|
return CKR_KEY_HANDLE_INVALID;
|
|
case 3045:
|
|
return CKR_KEY_UNEXTRACTABLE;
|
|
+ case 72:
|
|
case 11000:
|
|
return CKR_DATA_LEN_RANGE;
|
|
case 11028:
|