Skip to content

Commit

Permalink
Merge pull request #400 from Jakuje/format-string
Browse files Browse the repository at this point in the history
pkcs11: Fix format string
  • Loading branch information
qpernil committed Apr 2, 2024
2 parents 66b33d0 + d93c78f commit c071ef3
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 @@ -5667,7 +5667,7 @@ CK_DEFINE_FUNCTION(CK_RV, C_DeriveKey)
ecdh_key.id = ECDH_KEY_TYPE << 16 | seq;
ecdh_key.len = sizeof(ecdh_key.ecdh_key);

DBG_INFO("ecdh_key.id = %zu", ecdh_key.id);
DBG_INFO("ecdh_key.id = %lu", ecdh_key.id);

if (value_len > ecdh_key.len) {
DBG_ERR("Requested derived key is too long");
Expand Down

0 comments on commit c071ef3

Please sign in to comment.