From a57dda190d26721ab74ab4821f010811dd93cf5f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 28 May 2017 16:14:44 -0400 Subject: Track API changes in libhal ks9 branch. --- projects/cli-test/mgmt-keystore.c | 4 ++-- projects/hsm/mgmt-keystore.c | 4 ++-- 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; } -- cgit v1.2.3