aboutsummaryrefslogtreecommitdiff
path: root/ks.c
diff options
context:
space:
mode:
Diffstat (limited to 'ks.c')
-rw-r--r--ks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ks.c b/ks.c
index 758162b..15dcaf3 100644
--- a/ks.c
+++ b/ks.c
@@ -113,7 +113,7 @@ hal_error_t hal_ks_store(const hal_key_type_t type,
k.curve = curve;
k.flags = flags;
- if ((err = hal_ks_set_keydb(&k, *hint)) != HAL_OK)
+ if ((err = hal_ks_set_keydb(&k, *hint, 0)) != HAL_OK)
return err;
return HAL_OK;
@@ -273,7 +273,7 @@ hal_error_t hal_ks_rename(const hal_key_type_t type,
memcpy(k.name, new_name, new_name_len);
k.name_len = new_name_len;
- return hal_ks_set_keydb(&k, *hint);
+ return hal_ks_set_keydb(&k, *hint, 1);
}
hal_error_t hal_ks_list(hal_pkey_info_t *result,