On 8/6/07, Eddy Nigg (StartCom Ltd.) <[EMAIL PROTECTED]> wrote:
>
>  Right! However pkcs11 engine makes lots of sense. I wasn't aware that
> there is such a engine. I remember having written one specially for pkcs11
> less then 2 years ago. Perhaps you can simply define the engine as pkcs11
> (instead of dynamic). Maybe this is OS specific too, not sure...
>

Hmm, it goes crazy when I try that:

OpenSSL> engine pkcs11 -pre
SO_PATH:/opt/ITsmartcard/lib/engines/engine_pkcs11.so -pre ID:pkcs11 -pre
LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/opt/ITsmartcard/lib/opensc-pkcs11.so
(pkcs11) PKCS #11 engine support
[Failure]: SO_PATH:/opt/ITsmartcard/lib/engines/engine_pkcs11.so
11590:error:80067064:lib(128):PK11_CTRL:PKCS#11 DSO already
loaded:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/hw_pk11.c:737:
[Failure]: ID:pkcs11
11590:error:260AC089:engine routines:INT_CTRL_HELPER:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:134:
11590:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:316:
[Failure]: LIST_ADD:1
11590:error:260AC089:engine routines:INT_CTRL_HELPER:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:134:
11590:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:316:
[Failure]: LOAD
11590:error:260AC089:engine routines:INT_CTRL_HELPER:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:134:
11590:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:316:
[Failure]: MODULE_PATH:/opt/ITsmartcard/lib/opensc-pkcs11.so
11590:error:260AC089:engine routines:INT_CTRL_HELPER:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:134:
11590:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd
name:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_ctrl.c:316:
OpenSSL>
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to