diff options
author | Rob Austein <sra@hactrn.net> | 2016-10-09 23:07:25 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-10-09 23:07:25 -0400 |
commit | 002f019f8c6db7e3e8a2f1517de7693878f975be (patch) | |
tree | cd52fea781e03a257af48c45604c5ace98670dd6 /projects/cli-test | |
parent | eaaf1074fc7e84d7b33b7c130e865bb668a70356 (diff) |
Track changes to libhal pkey API.
Diffstat (limited to 'projects/cli-test')
-rw-r--r-- | projects/cli-test/mgmt-keystore.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/projects/cli-test/mgmt-keystore.c b/projects/cli-test/mgmt-keystore.c index 83aa31a..3b36edb 100644 --- a/projects/cli-test/mgmt-keystore.c +++ b/projects/cli-test/mgmt-keystore.c @@ -236,9 +236,11 @@ 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_client_handle_t client = {HAL_HANDLE_NONE}; hal_session_handle_t session = {HAL_HANDLE_NONE}; - if ((status = hal_rpc_pkey_list(session, keys, &n, sizeof(keys)/sizeof(*keys), HAL_KEY_FLAG_TOKEN)) != LIBHAL_OK) { + if ((status = hal_rpc_pkey_list(client, 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; } |