aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkcs11.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkcs11.c b/pkcs11.c
index 538654f..148a1a6 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -3391,7 +3391,6 @@ CK_RV C_FindObjects(CK_SESSION_HANDLE hSession,
{
ENTER_PUBLIC_FUNCTION(C_FindObjects);
- hal_uuid_t previous_uuid = {{0}};
p11_session_t *session;
CK_RV rv = CKR_OK;
@@ -3431,7 +3430,7 @@ CK_RV C_FindObjects(CK_SESSION_HANDLE hSession,
session->find_query, session->find_query_n,
&session->find_query_state,
uuids, &n, sizeof(uuids)/sizeof(*uuids),
- &previous_uuid));
+ &session->find_query_previous_uuid));
if (rv != CKR_OK)
goto fail;