aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: