aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--projects/cli-test/mgmt-keystore.c4
-rw-r--r--projects/hsm/mgmt-keystore.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/projects/cli-test/mgmt-keystore.c b/projects/cli-test/mgmt-keystore.c
index e11ef76..18447c8 100644
--- a/projects/cli-test/mgmt-keystore.c
+++ b/projects/cli-test/mgmt-keystore.c
@@ -340,12 +340,12 @@ static int cmd_keystore_erase(struct cli_def *cli, const char *command, char *ar
return CLI_ERROR;
}
- if ((err = hal_ks_init(hal_ks_token_driver, 0)) != LIBHAL_OK) {
+ if ((err = hal_ks_init(hal_ks_token, 0)) != LIBHAL_OK) {
cli_print(cli, "Failed to reinitialize token keystore: %s", hal_error_string(err));
return CLI_ERROR;
}
- if ((err = hal_ks_init(hal_ks_volatile_driver, 0)) != LIBHAL_OK) {
+ if ((err = hal_ks_init(hal_ks_volatile, 0)) != LIBHAL_OK) {
cli_print(cli, "Failed to reinitialize memory keystore: %s", hal_error_string(err));
return CLI_ERROR;
}
diff --git a/projects/hsm/mgmt-keystore.c b/projects/hsm/mgmt-keystore.c
index f24f49b..0104265 100644
--- a/projects/hsm/mgmt-keystore.c
+++ b/projects/hsm/mgmt-keystore.c
@@ -304,12 +304,12 @@ static int cmd_keystore_erase(struct cli_def *cli, const char *command, char *ar
return CLI_ERROR;
}
- if ((err = hal_ks_init(hal_ks_token_driver, 0)) != LIBHAL_OK) {
+ if ((err = hal_ks_init(hal_ks_token, 0)) != LIBHAL_OK) {
cli_print(cli, "Failed to reinitialize token keystore: %s", hal_error_string(err));
return CLI_ERROR;
}
- if ((err = hal_ks_init(hal_ks_volatile_driver, 0)) != LIBHAL_OK) {
+ if ((err = hal_ks_init(hal_ks_volatile, 0)) != LIBHAL_OK) {
cli_print(cli, "Failed to reinitialize memory keystore: %s", hal_error_string(err));
return CLI_ERROR;
}