Testing the proposed opensc from
http://alon.barlev.googlepages.com/opensc-0.11.4-svn.tar.gz
Configure works on ML-5 (StartCom MultiMedia) with ./configure
--enable-openct --enable-pcsc-lite --enable-nsplugin, however PCSC isn't
picked up:
OpenSSL support: yes
PC/SC support: no
OpenCT support: yes
Assuan support: yes
NSPlugin support: yes
Installed is version pcsc-lite-1.3.0. During "make" it bombs with:
gcc -DHAVE_CONFIG_H -I. -I../.. -I./npinclude -I/usr/kerberos/include
-DXP_UNIX -fno-strict-aliasing -g -O2 -MT
opensc_signer_la-opensc-crypto.lo -MD -MP -MF
.deps/opensc_signer_la-opensc-crypto.Tpo -c opensc-crypto.c -fPIC -DPIC
-o .libs/opensc_signer_la-opensc-crypto.o
In file included from opensc-crypto.c:1:
signer.h:8:27: error: opensc/opensc.h: No such file or directory
signer.h:9:27: error: opensc/pkcs15.h: No such file or directory
In file included from opensc-crypto.c:2:
opensc-crypto.h:12: error: field 'cert_id' has incomplete type
opensc-crypto.c:7: warning: 'struct sc_pkcs15_object' declared inside
parameter list
opensc-crypto.c:7: warning: its scope is only this definition or
declaration, which is probably not what you want
opensc-crypto.c: In function 'sc_init':
opensc-crypto.c:33: error: dereferencing pointer to incomplete type
opensc-crypto.c: In function 'sc_private_decrypt':
opensc-crypto.c:67: error: 'SC_PKCS15_PRKEY_USAGE_DECRYPT' undeclared
(first use in this function)
opensc-crypto.c:67: error: (Each undeclared identifier is reported only once
opensc-crypto.c:67: error: for each function it appears in.)
opensc-crypto.c:73: error: dereferencing pointer to incomplete type
opensc-crypto.c:79: error: dereferencing pointer to incomplete type
opensc-crypto.c:80: error: 'SC_SUCCESS' undeclared (first use in this
function)
opensc-crypto.c:83: warning: passing argument 2 of
'ask_and_verify_pin_code' from incompatible pointer type
opensc-crypto.c:85: error: dereferencing pointer to incomplete type
opensc-crypto.c:88: error: dereferencing pointer to incomplete type
opensc-crypto.c:89: error: dereferencing pointer to incomplete type
opensc-crypto.c: In function 'sc_sign':
opensc-crypto.c:130: error: 'SC_PKCS15_PRKEY_USAGE_SIGN' undeclared
(first use in this function)
opensc-crypto.c:136: error: dereferencing pointer to incomplete type
opensc-crypto.c:142: error: dereferencing pointer to incomplete type
opensc-crypto.c:143: error: 'SC_SUCCESS' undeclared (first use in this
function)opensc-crypto.c:146: warning: passing argument 2 of
'ask_and_verify_pin_code' from incompatible pointer type
opensc-crypto.c:148: error: dereferencing pointer to incomplete type
opensc-crypto.c:153: error: 'SC_ALGORITHM_RSA_HASH_SHA1' undeclared
(first use in this function)
opensc-crypto.c:153: error: 'SC_ALGORITHM_RSA_PAD_PKCS1' undeclared
(first use in this function)
opensc-crypto.c:155: error: dereferencing pointer to incomplete type
make[4]: *** [opensc_signer_la-opensc-crypto.lo] Error 1
make[4]: Leaving directory `/home/buildsys/opensc-0.11.4-svn/src/signer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/buildsys/opensc-0.11.4-svn/src/signer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/buildsys/opensc-0.11.4-svn/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/buildsys/opensc-0.11.4-svn'
make: *** [all] Error 2
It builds however when not enabling NS signer. No PC/SC even when
requested from configure.
On a StartCom Enterprise 5 (RHEL clone) I didn't tried to add openct and
ns because RHEL doesn't come with the supported libs. It builds, but
also here PC/SC isn't detected even when requested from configure. It
builds with OpenSSL only, nothing else. PC/SC is version pcsc-lite-1.3.1.
--
Regards
Signer: Eddy Nigg, StartCom Ltd. <http://www.startcom.org>
Jabber: [EMAIL PROTECTED] <xmpp:[EMAIL PROTECTED]>
Blog: Join the Revolution! <http://blog.startcom.org>
Phone: +1.213.341.0390
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel