opensc/src/smm
Maciej S. Szmigiero 62cbda6cd9 Fix log messages format and parameter issues flagged by GCC
Since "Add GCC format checking attributes to log functions" commit GCC
warns us about problems with format strings and their arguments provided
to OpenSC message logging functions.

This commit fixes all cases where GCC warned about incorrect format on
64-bit Linux, 32-bit and 64-bit mingw builds (with SM and OpenSSL enabled).
Well, almost all since on mingw GCC does not recognize "ll" size specifier
(present at least since Visual Studio 2005, also in mingw own CRT) so these
(few) warnings about it remain.

In most cases format size specifier for size_t type was missing (usually
size was left at default int level, with is different on 64-bit x86).
Some formats had too few / too many arguments.
In some cases pointers were printed as integers.
Some long variables were missing "l" prefix (especially with regard to %x
format).

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
2017-03-27 11:05:16 +02:00
..
Makefile.am Fix most of warnings shown when building on Linux and mingw 2017-03-27 10:58:26 +02:00
Makefile.mak Added (external) card driver for German ID card 2017-03-20 21:28:48 +01:00
sm-card-authentic.c Fix log messages format and parameter issues flagged by GCC 2017-03-27 11:05:16 +02:00
sm-card-iasecc.c Fix log messages format and parameter issues flagged by GCC 2017-03-27 11:05:16 +02:00
sm-common.exports win32: build: 'version-info' resource for each target 2013-12-29 22:00:29 +01:00
sm-cwa14890.c Fix log messages format and parameter issues flagged by GCC 2017-03-27 11:05:16 +02:00
sm-global-platform.c Fix log messages format and parameter issues flagged by GCC 2017-03-27 11:05:16 +02:00
sm-module.h Added (external) card driver for German ID card 2017-03-20 21:28:48 +01:00
smm-local.c Fix log messages format and parameter issues flagged by GCC 2017-03-27 11:05:16 +02:00
smm-local.exports sm: move SM common crypto procedures to the dedicated library 2013-01-04 22:29:59 +01:00