Forced cast to unsigned int for %u format in the ecdsa application
This commit is contained in:
parent
ec4bea7eee
commit
caf0e60969
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ int main( int argc, char *argv[] )
|
||||||
printf( " failed\n ! ecdsa_genkey returned %d\n", ret );
|
printf( " failed\n ! ecdsa_genkey returned %d\n", ret );
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
printf( " ok (signature length = %u)\n", sig_len );
|
printf( " ok (signature length = %u)\n", (unsigned int) sig_len );
|
||||||
|
|
||||||
dump_buf( " + Hash: ", hash, sizeof hash );
|
dump_buf( " + Hash: ", hash, sizeof hash );
|
||||||
dump_buf( " + Signature: ", sig, sig_len );
|
dump_buf( " + Signature: ", sig, sig_len );
|
||||||
|
|
Loading…
Reference in a new issue