On 18.03.2009, at 5:00, Weitao Sun wrote: > 4.The user want a second keypair(KEYPAIR_B), so we will alloc a new ID > for it. We, again, start from DEFAULT_ID(0x45) to 0xFF, pick a number, > because KEYPAIR_A's ID is not DEFAULT_ID(0x45), we pick 0x45 again. Quickfix could be to assign the ID like "0x45 + count(existing_keys)" ?
-- Martin Paljak http://martin.paljak.pri.ee +372.515.6495 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel