aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-11-14 15:16:32 -0500
committerRob Austein <sra@hactrn.net>2016-11-14 15:16:32 -0500
commitc6d3a52cffd3f4360f400286ceb0cdbf48f11f6a (patch)
treed9f0a6e7096f4803106a22474112e4722e6d3b8b /projects/cli-test
parent66348b6986cf38d9d0fe707eca7bbfd7be3def18 (diff)
hal_rpc_pkey_find() -> hal_rpc_pkey_open().
Diffstat (limited to 'projects/cli-test')
-rw-r--r--projects/cli-test/mgmt-keystore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/cli-test/mgmt-keystore.c b/projects/cli-test/mgmt-keystore.c
index 3b36edb..1fb720b 100644
--- a/projects/cli-test/mgmt-keystore.c
+++ b/projects/cli-test/mgmt-keystore.c
@@ -198,7 +198,7 @@ static int cmd_keystore_delete_key(struct cli_def *cli, const char *command, cha
return CLI_ERROR;
}
- if ((status = hal_rpc_pkey_find(client, session, &pkey, &name, HAL_KEY_FLAG_TOKEN)) != LIBHAL_OK ||
+ if ((status = hal_rpc_pkey_open(client, session, &pkey, &name, HAL_KEY_FLAG_TOKEN)) != LIBHAL_OK ||
(status = hal_rpc_pkey_delete(pkey)) != LIBHAL_OK) {
cli_print(cli, "Failed deleting key: %s", hal_error_string(status));
return CLI_ERROR;