From: GitHub <no...@gi...> - 2013-08-03 16:36:48
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 07818329ab93d0bce94fe6e8db3746f81f8110fb https://github.com/OpenSC/OpenSC/commit/07818329ab93d0bce94fe6e8db3746f81f8110fb Author: Frank Morgner <mo...@in...> Date: 2013-08-03 (Sat, 03 Aug 2013) Changed paths: M src/libopensc/card.c M src/libopensc/libopensc.exports M src/libopensc/opensc.h M src/libopensc/types.h Log Message: ----------- made sc_apdu_t.data 'const' (which it used to be) fixes a lot of warnings which pass a const buffer to the APDU's data Note that a non-const data member is only required for sc_allocate_apdu sc_free_apdu. They are currently used with an explicit typecast. However, sc_allocate_apdu and sc_free_apdu both are not used once in the entire project. One might also simply throw both functions away. -- Both are thrown away. (VT) |