From: Timo T. <no...@gi...> - 2019-06-17 13:19:19
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 19711d0a1301f0519a1348390bb996fd2925f766 https://github.com/OpenSC/OpenSC/commit/19711d0a1301f0519a1348390bb996fd2925f766 Author: Timo Teräs <tim...@ik...> Date: 2019-06-17 (Mon, 17 Jun 2019) Changed paths: M src/libopensc/card-myeid.c Log Message: ----------- myeid: fix EC key upload, and avoid data copying Fixes regression from commit 3688dfe which did not consider that the zero prefixing tests were too generic and matched EC keys too. This simplifies the code even further and avoids data copying when possible. Proper test is now included to do data value prefixing only for the RSA keys it is needed. Closes #1701. |