aboutsummaryrefslogtreecommitdiff
path: root/rpc_pkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc_pkey.c')
-rw-r--r--rpc_pkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc_pkey.c b/rpc_pkey.c
index 0838694..7455bb1 100644
--- a/rpc_pkey.c
+++ b/rpc_pkey.c
@@ -409,7 +409,7 @@ static hal_error_t delete(const hal_pkey_handle_t pkey)
hal_error_t err = hal_ks_delete(slot->type, slot->name, slot->name_len, &slot->ks_hint);
if (err == HAL_OK || err == HAL_ERROR_KEY_NOT_FOUND)
- memset(slot, 0, sizeof(*slot));
+ memset(slot, 0, sizeof(*slot));
return err;
}