From eaaf1074fc7e84d7b33b7c130e865bb668a70356 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 7 Oct 2016 20:29:06 -0400 Subject: Track changes to libhal RPC pkey API. --- projects/cli-test/mgmt-keystore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'projects/cli-test') diff --git a/projects/cli-test/mgmt-keystore.c b/projects/cli-test/mgmt-keystore.c index ec2c96a..83aa31a 100644 --- a/projects/cli-test/mgmt-keystore.c +++ b/projects/cli-test/mgmt-keystore.c @@ -236,8 +236,9 @@ static int cmd_keystore_show_keys(struct cli_def *cli, const char *command, char hal_pkey_info_t keys[64]; unsigned n; hal_error_t status; + hal_session_handle_t session = {HAL_HANDLE_NONE}; - if ((status = hal_rpc_pkey_list(keys, &n, sizeof(keys)/sizeof(*keys), HAL_KEY_FLAG_TOKEN)) != LIBHAL_OK) { + if ((status = hal_rpc_pkey_list(session, keys, &n, sizeof(keys)/sizeof(*keys), HAL_KEY_FLAG_TOKEN)) != LIBHAL_OK) { cli_print(cli, "Could not fetch key info: %s", hal_error_string(status)); return CLI_ERROR; } -- cgit v1.2.3