aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-05-28 16:14:44 -0400
committerRob Austein <sra@hactrn.net>2017-05-28 16:14:44 -0400
commita57dda190d26721ab74ab4821f010811dd93cf5f (patch)
treea9f11ad73eccf41d931b5e67fbb9a461ac975ca9
parent1175ff63f2a8c4762692551403862f9f0789aef8 (diff)
Track API changes in libhal ks9 branch.
-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;
}