diff options
Diffstat (limited to 'trust/module.c')
-rw-r--r-- | trust/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/module.c b/trust/module.c index 5ebe1ff..852d74f 100644 --- a/trust/module.c +++ b/trust/module.c @@ -975,7 +975,7 @@ sys_C_DestroyObject (CK_SESSION_HANDLE handle, if (rv == CKR_OK && p11_attrs_find_bool (attrs, CKA_MODIFIABLE, &val) && !val) { /* TODO: This should be replaced with CKR_ACTION_PROHIBITED */ - rv = CKR_FUNCTION_REJECTED; + rv = CKR_ATTRIBUTE_READ_ONLY; } if (rv == CKR_OK) |