aboutsummaryrefslogtreecommitdiff
path: root/rpc_api.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-11-14 15:15:46 -0500
committerRob Austein <sra@hactrn.net>2016-11-14 15:15:46 -0500
commitd6e9917d07ddb0a5f8218fecdcd8bda3a1104912 (patch)
treec08ccde715ab554eae616bd80501c25103ab427d /rpc_api.c
parent58a9ca87db1a8d9e75f830a508ab1040c1bd889f (diff)
hal_rpc_pkey_find() -> hal_rpc_pkey_open().
Diffstat (limited to 'rpc_api.c')
-rw-r--r--rpc_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc_api.c b/rpc_api.c
index d908e8f..75172bf 100644
--- a/rpc_api.c
+++ b/rpc_api.c
@@ -227,7 +227,7 @@ hal_error_t hal_rpc_pkey_load(const hal_client_handle_t client,
return hal_rpc_pkey_dispatch->load(client, session, pkey, type, curve, name, der, der_len, flags);
}
-hal_error_t hal_rpc_pkey_find(const hal_client_handle_t client,
+hal_error_t hal_rpc_pkey_open(const hal_client_handle_t client,
const hal_session_handle_t session,
hal_pkey_handle_t *pkey,
const hal_uuid_t * const name,
@@ -235,7 +235,7 @@ hal_error_t hal_rpc_pkey_find(const hal_client_handle_t client,
{
if (pkey == NULL || name == NULL)
return HAL_ERROR_BAD_ARGUMENTS;
- return hal_rpc_pkey_dispatch->find(client, session, pkey, name, flags);
+ return hal_rpc_pkey_dispatch->open(client, session, pkey, name, flags);
}
hal_error_t hal_rpc_pkey_generate_rsa(const hal_client_handle_t client,