From: GitHub <no...@gi...> - 2015-08-11 22:41:39
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 85b79a33320b615c923a6a03b6d295d7543b3f55 https://github.com/OpenSC/OpenSC/commit/85b79a33320b615c923a6a03b6d295d7543b3f55 Author: Frank Morgner <mo...@in...> Date: 2015-08-11 (Tue, 11 Aug 2015) Changed paths: M src/libopensc/apdu.c M src/libopensc/card-dnie.c M src/libopensc/card-sc-hsm.c M src/libopensc/card.c M src/libopensc/iso7816.c Log Message: ----------- don't always overwrite max_send_size/max_recv_size If the reader announces extended length support, but the card driver leaves max_send_size/max_recv_size at `0`, max_send_size/max_recv_size previously would have been overwritten with the reader's size though the card might not have set SC_CARD_CAP_APDU_EXT. This commit fixes this behavior. Additionally card->max_send_size/max_recv_size is always initialized to a value different from 0 after the card initialization. This removes the need to check for this special value in all subsequent calls. Commit: 2e21163273978475b31f664f80ad1ad3c02755c7 https://github.com/OpenSC/OpenSC/commit/2e21163273978475b31f664f80ad1ad3c02755c7 Author: Frank Morgner <mo...@in...> Date: 2015-08-11 (Tue, 11 Aug 2015) Changed paths: M src/libopensc/card-cardos.c Log Message: ----------- cardos: probe for transceive length Commit: c86580adae2211b5cdd0672eac52f6800f6e854b https://github.com/OpenSC/OpenSC/commit/c86580adae2211b5cdd0672eac52f6800f6e854b Author: Frank Morgner <mo...@in...> Date: 2015-08-12 (Wed, 12 Aug 2015) Changed paths: M src/libopensc/apdu.c M src/libopensc/card-cardos.c M src/libopensc/card-dnie.c M src/libopensc/card-sc-hsm.c M src/libopensc/card.c M src/libopensc/iso7816.c Log Message: ----------- Merge pull request #515 from frankmorgner/send-recv don't always overwrite max_send_size/max_recv_size Compare: https://github.com/OpenSC/OpenSC/compare/27b64c59992d...c86580adae22 |