Skip to content

Commit

Permalink
Issue 22: Fix test compile error for Realtek (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericeberry authored Dec 22, 2022
1 parent b51f3bb commit 4d1dc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/main/cpp/keyctrl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ Sec_Result testKeyCtrlProvision32bit2038(int version, const char* alg) {
}
#else
if (SecKey_Provision(ctx.proc(), SEC_OBJECTID_USER_BASE, SEC_STORAGELOC_RAM, SEC_KEYCONTAINER_JTYPE,
reinterpret_cast<SEC_BYTE*>(jtype.data()), jtype.size()) == SEC_RESULT_SUCCESS) {
reinterpret_cast<SEC_BYTE*>(&jtype[0]), jtype.size()) == SEC_RESULT_SUCCESS) {
SEC_LOG_ERROR("Expecting SecKey_Provision to fail on jtype with date '%s'", notOnOrAfter);
return SEC_RESULT_FAILURE;
}
Expand Down

0 comments on commit 4d1dc1b

Please sign in to comment.