Skip to content

Commit

Permalink
ID 435946: Invalid printf format string
Browse files Browse the repository at this point in the history
Thanks Coverity, once again.

Signed-off-by: Simo Sorce <[email protected]>
  • Loading branch information
simo5 committed Feb 8, 2023
1 parent c0419cd commit d808373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kdf.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ static int p11prov_hkdf_derive(void *ctx, unsigned char *key, size_t keylen,
if (key_size != keylen) {
ret = CKR_GENERAL_ERROR;
P11PROV_raise(hkdfctx->provctx, ret,
"Expected derived key of len %lz, but got %lu", keylen,
"Expected derived key of len %zu, but got %lu", keylen,
key_size);
return RET_OSSL_ERR;
}
Expand Down

0 comments on commit d808373

Please sign in to comment.