aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-10-07 20:29:38 -0400
committerRob Austein <sra@hactrn.net>2016-10-07 20:29:38 -0400
commit0671f0d3e0243f8af1fb583336479d9d87535557 (patch)
treede67696dc84f03e0fb5a30cfb1a5f08caccf5b87
parent2d43319db94c0995ff5ce13f3f0da39ffbd12278 (diff)
Track changes to libhal RPC pkey API.
-rw-r--r--pkcs11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkcs11.c b/pkcs11.c
index e8bcb0f..192f7cf 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -2714,8 +2714,8 @@ static CK_RV sign_hal_rpc(p11_session_t *session,
*pulSignatureLen = signature_len;
if (pSignature != NULL && rv == CKR_OK)
- rv = p11_whine_from_hal(hal_rpc_pkey_sign(p11_session_hal_session(session), pkey, session->sign_digest_handle,
- pData, ulDataLen, pSignature, &signature_len, signature_len));
+ rv = p11_whine_from_hal(hal_rpc_pkey_sign(pkey, session->sign_digest_handle, pData, ulDataLen,
+ pSignature, &signature_len, signature_len));
/* Fall through */
fail:
@@ -2741,8 +2741,8 @@ static CK_RV verify_hal_rpc(p11_session_t *session,
if (!p11_object_get_pkey_handle(session, session->verify_key_handle, &pkey))
lose(CKR_FUNCTION_FAILED);
- rv = p11_whine_from_hal(hal_rpc_pkey_verify(p11_session_hal_session(session), pkey, session->verify_digest_handle,
- pData, ulDataLen, pSignature, ulSignatureLen));
+ rv = p11_whine_from_hal(hal_rpc_pkey_verify(pkey, session->verify_digest_handle, pData, ulDataLen,
+ pSignature, ulSignatureLen));
/* Fall through */
fail: