aboutsummaryrefslogtreecommitdiff
path: root/rpc_pkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc_pkey.c')
-rw-r--r--rpc_pkey.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rpc_pkey.c b/rpc_pkey.c
index e0d9bdc..dc930cf 100644
--- a/rpc_pkey.c
+++ b/rpc_pkey.c
@@ -1026,8 +1026,7 @@ static inline hal_error_t match_one_keystore(const hal_ks_driver_t * const drive
if ((err = hal_ks_match(ks, client, session, type, curve,
mask, flags, attributes, attributes_len,
- *result, &len, result_max - *result_len,
- previous_uuid)) != HAL_OK) {
+ *result, &len, result_max, previous_uuid)) != HAL_OK) {
(void) hal_ks_close(ks);
return err;
}