Skip to content

Commit

Permalink
PKCS11: Handle mismatch in attribute value in C_Find
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Sep 21, 2023
1 parent ce61599 commit 481d081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkcs11/yubihsm_pkcs11.c
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,7 @@ CK_DEFINE_FUNCTION(CK_RV, C_FindObjectsInit)
"%x",
(uint32_t) pTemplate[i].type, value);
}
rv = set_object_type(&type, YH_WRAP_KEY);
rv = set_object_type(&type, key_type);
if (rv != CKR_OK) {
goto c_foi_out;
}
Expand Down

0 comments on commit 481d081

Please sign in to comment.