I don't have a Feitian card or a J3H145, just Credentsys Lite 72k and J3R-180's, will test on those later, though this workaround did not seem necessary for use so far on those two kinds of cards and the clients I've used.
It should probably save/restore Lc and Le, too, so the JCRE on the card can actually find the right Le when it comes time for that.
I don't have a Feitian card or a J3H145, just Credentsys Lite 72k and J3R-180's, will test on those later, though this workaround did not seem necessary for use so far on those two kinds of cards and the clients I've used.
It should probably save/restore Lc and Le, too, so the JCRE on the card can actually find the right Le when it comes time for that.