From 0671f0d3e0243f8af1fb583336479d9d87535557 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 7 Oct 2016 20:29:38 -0400 Subject: Track changes to libhal RPC pkey API. --- pkcs11.c | 8 ++++---- 1 file 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: -- cgit v1.2.3