diff options
-rw-r--r-- | pkcs11.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |