opensc/src
Ludovic Rousseau ae67f16e9b card-iasecc.c: fix 1 compiler warning
card-iasecc.c:3206:3: error: variable 'rv' is used uninitialized whenever 'if'
      condition is false [-Werror,-Wsometimes-uninitialized]
  ...LOG_TEST_RET(ctx, SC_ERROR_INVALID_ARGUMENTS, "Need RSA_HASH_SHA1 or RSA_HASH_SHA256 algorithm");
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/libopensc/log.h:90:36: note: expanded from macro 'LOG_TEST_RET'
  ...r, text) SC_TEST_RET((ctx), SC_LOG_DEBUG_NORMAL, (r), (text))
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/libopensc/log.h:84:6: note: expanded from macro 'SC_TEST_RET'
        if (_ret < 0) { \
            ^~~~~~~~
card-iasecc.c:3207:20: note: uninitialized use occurs here
        LOG_TEST_RET(ctx, rv, "Cannot get QSign data");
                          ^~
../../src/libopensc/log.h:90:77: note: expanded from macro 'LOG_TEST_RET'
  ...r, text) SC_TEST_RET((ctx), SC_LOG_DEBUG_NORMAL, (r), (text))
                                                       ^
../../src/libopensc/log.h:83:14: note: expanded from macro 'SC_TEST_RET'
        int _ret = (r); \
                    ^
card-iasecc.c:3206:3: note: remove the 'if' if its condition is always true
                LOG_TEST_RET(ctx, SC_ERROR_INVALID_ARGUMENTS, "Need RSA_...
                ^
../../src/libopensc/log.h:90:36: note: expanded from macro 'LOG_TEST_RET'
                                   ^
../../src/libopensc/log.h:84:2: note: expanded from macro 'SC_TEST_RET'
        if (_ret < 0) { \
        ^
card-iasecc.c:3185:8: note: initialize the variable 'rv' to silence this warning
        int rv;
              ^
               = 0
2016-03-02 15:01:19 +01:00
..
common remove compat_strnlen.obj from windows build 2016-02-16 07:15:36 +01:00
libopensc card-iasecc.c: fix 1 compiler warning 2016-03-02 15:01:19 +01:00
libsm Decouples SM from OpenSSL 2015-09-24 14:46:30 +02:00
minidriver minidriver: use sc_logout for CardDeauthenticate 2015-12-12 02:28:01 +01:00
pkcs11 framework-pkcs15.c: fix compiler warning 2016-02-29 20:19:42 +01:00
pkcs15init pkcs15-isoApplet.c: fix compiler warning 2016-02-29 20:19:42 +01:00
scconf fix potention NULL deref 2015-09-17 22:24:33 +02:00
smm sm-card-iasecc.c: fix compiler warning 2016-03-02 14:50:57 +01:00
tests print.c: fixed accessing label in sc_pkcs15_object_t 2015-10-04 17:33:14 +02:00
tools openpgp-tool.c: fix compiler warning 2016-02-29 20:19:42 +01:00
Makefile.am Decouples SM from OpenSSL 2015-09-24 14:46:30 +02:00
Makefile.mak sm: move SM common crypto procedures to the dedicated library 2013-01-04 22:29:59 +01:00