[Cryptech-Commits] [sw/pkcs11] 01/02: Track changes to libhal RPC pkey API.
git at cryptech.is
git at cryptech.is
Sun Oct 16 20:23:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
sra at hactrn.net pushed a commit to branch ksng
in repository sw/pkcs11.
commit 0671f0d3e0243f8af1fb583336479d9d87535557
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Fri Oct 7 20:29:38 2016 -0400
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:
More information about the Commits
mailing list