On 10/14/2012 5:27 AM, Ludovic Rousseau wrote: > 2012/10/2 Jean-Michel Pouré - GOOZE <jmpo...@gooze.eu>: >> Hello, >> >> I have some problems building Mac OS X packages on the farm. >> This is Mac OS X 10.6 (SnowLeopard) and OpenSC git. >> >> Can you help? > On my Snow Leopard system with up to date version of OpenSC I have: > > /Users/rousseau/Documents/github/OpenSC/OpenSC.tokend/OpenSC/OpenSCRecord.cpp:72:13:{72:15-72:25}: > error: assigning to 'uint8 *' (aka 'unsigned char *') from > incompatible type 'struct sc_pkcs15_der' [3] > data.Data = cert->data; > ^ ~~~~~~~~~~ > /Users/rousseau/Documents/github/OpenSC/OpenSC.tokend/OpenSC/OpenSCRecord.cpp:73:23:{73:17-73:21}: > error: no member named 'data_len' in 'sc_pkcs15_cert' [3] > data.Length = cert->data_len; > ~~~~ ^ > 2 errors generated.
These are relatively easy to fix, since the sc_pkcs15_cert structure changed slightly. I'd send in a patch, but I'm loth to having my repo micromanaged. Also, would need to disentangle the build system. > The sc_pkcs15_cert structure has been updated in OpenSC but not its > use in the tokend. The tokend is then out of sync and can't be build > with a "recent" OpenSC. > > I would suggest to drop the OpenSC tokend, unless someone volunteer to > maintain it. > > I also propose to, instead, use the tokend over PKCS#11 hosted at the > SmartCard Services project [1]. This tokend should work with any > PKCS#11 library. > I have not rebuild this tokend since a long time so it may be as easy > (or hard) to rebuild as the tokend from OpenSC. > I'll give it a shot later this week, if work doesn't get in the way. -scooter _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel