diff options
author | Rob Austein <sra@hactrn.net> | 2016-10-07 20:23:45 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-10-07 20:23:45 -0400 |
commit | 45061e2df746f597195b80376fc405b4538b5420 (patch) | |
tree | 52a132edc29b028ceec5f111a4264d4873f99064 /ks_flash.c | |
parent | b89d9e30c928724fd4aac579067708cffc55f003 (diff) |
Fix session handle arguments in RPC calls.
RPC calls which pass a pkey handle don't need to pass a session
handle, because the session handle is already in the HSM's pkey slot
object; pkey RPC calls which don't pass a pkey argument do need to
pass a session handle.
This change percolates down to the keystore driver, because only the
keystore driver knows whether that particular keystore cares about
session handles.
Diffstat (limited to 'ks_flash.c')
-rw-r--r-- | ks_flash.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1043,6 +1043,7 @@ static hal_error_t ks_match(hal_ks_t *ks, hal_uuid_t *previous_uuid) { #warning NIY + return HAL_ERROR_IMPOSSIBLE; } static hal_error_t ks_set_attribute(hal_ks_t *ks, @@ -1052,6 +1053,7 @@ static hal_error_t ks_set_attribute(hal_ks_t *ks, const size_t value_len) { #warning NIY + return HAL_ERROR_IMPOSSIBLE; } static hal_error_t ks_get_attribute(hal_ks_t *ks, @@ -1062,6 +1064,7 @@ static hal_error_t ks_get_attribute(hal_ks_t *ks, const size_t value_max) { #warning NIY + return HAL_ERROR_IMPOSSIBLE; } static hal_error_t ks_delete_attribute(hal_ks_t *ks, @@ -1069,6 +1072,7 @@ static hal_error_t ks_delete_attribute(hal_ks_t *ks, const uint32_t type) { #warning NIY + return HAL_ERROR_IMPOSSIBLE; } const hal_ks_driver_t hal_ks_token_driver[1] = {{ |