Skip to content

Commit

Permalink
pkcs11: Fix format string
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Apr 2, 2024
1 parent 66b33d0 commit d93c78f
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 d93c78f

Please sign in to comment.