Skip to content

Commit

Permalink
Fix type used in LogDebug format string
Browse files Browse the repository at this point in the history
Fixes #185
  • Loading branch information
paulbartell committed Nov 27, 2023
1 parent c671c11 commit 6dd11e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/portable/mbedtls/core_pkcs11_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -4531,7 +4531,7 @@ CK_DECLARE_FUNCTION( CK_RV, C_Sign )( CK_SESSION_HANDLE hSession,
}
else
{
LogDebug( ( "Ready to sign: xSignatureLength=%ld *pulSignatureLen=%ld", xSignatureLength, *pulSignatureLen ) );
LogDebug( ( "Ready to sign: xSignatureLength=%lu *pulSignatureLen=%lu", ( unsigned long int ) xSignatureLength, *pulSignatureLen ) );

/* Per mbed TLS documentation, if using RSA, md_alg should
* be MBEDTLS_MD_NONE. If ECDSA, md_alg should never be
Expand Down

0 comments on commit 6dd11e0

Please sign in to comment.