9.7.0a3 PKCS11

Zbigniew Jasinski szopen at nask.pl
Thu Oct 22 10:10:10 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greg.Rabil at ins.com pisze:

> Once you have built OpenSSL, run "apps/openssl engine" to confirm that
> 
> PKCS #11 support was compiled in correctly.  The output should include the
> 
> line:
> 
>         (pkcs11) PKCS #11 engine support
> 
> If the output is correct, run "make install".
> 
> I don’t see that line in my output.  Any ideas where to look for my
> problem?  I know that it is not a 32/64 bit mismatch problem, as all my
> libraries are 32-bit.  Any help is appreciated.
> 
> Thanks,
> 
> Greg
> 

hello all,

i have same problem here. i'm trying to compile openssl on GNU/Linux,
using opensc pkcs11 library and it looks ok (it compiles without errors)
but first test according to README.pkcs11 shows nothing more than:

$ ./apps/openssl engine pkcs11
(pkcs11) pkcs11 engine

and while trying to initialize the PKCS #11 engine:

$ ./apps/openssl engine pkcs11 -t
(pkcs11) pkcs11 engine
unable to load module (null)
     [ unavailable ]
Segmentation fault

compiling openssl with debugging symbols shows:

(pkcs11) pkcs11 engine
unable to load module (null)
     [ unavailable ]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e796b0 (LWP 8540)]
0x08101505 in err_cmp (a_void=0xb4b78418, b_void=0x81d86c0) at err_def.c:577
577             return((int)(((const ERR_STRING_DATA *)a_void)->error -
(gdb) backtrace
#0  0x08101505 in err_cmp (a_void=0xb4b78418, b_void=0x81d86c0) at
err_def.c:577
#1  0x080ff203 in getrn (lh=0xb74a9fa0, data=0x81d86c0,
rhash=0xbfc30e58) at lhash.c:427
#2  0x080fec40 in lh_delete (lh=0xb74a9fa0, data=0x81d86c0) at lhash.c:224
#3  0x08100e07 in int_err_del_item (d=0x81d86c0) at err_def.c:333
#4  0x081012a3 in ERR_unload_strings (lib=128, str=0x81d86c0) at
err_def.c:492
#5  0x08149b9a in ERR_unload_CCA4758_strings () at e_4758cca_err.c:138
#6  0x08149e27 in ibm_4758_cca_destroy (e=0xb4fe2f98) at e_4758cca.c:267
#7  0x080e9ac9 in engine_free_util (e=0xb4fe2f98, locked=0) at eng_lib.c:131
#8  0x080ea0f0 in engine_list_remove (e=0xb4fe2f98) at eng_list.c:187
#9  0x080ea406 in ENGINE_remove (e=0xb4fe2f98) at eng_list.c:306
#10 0x080e9e73 in engine_list_cleanup () at eng_list.c:88
#11 0x080e9c3c in engine_cleanup_cb_free (item=0xb5223ffc) at eng_lib.c:183
#12 0x080fe774 in sk_pop_free (st=0xb5217fec, func=0x80e9c2f
<engine_cleanup_cb_free>) at stack.c:290
#13 0x080e9c78 in ENGINE_cleanup () at eng_lib.c:190
#14 0x0804a706 in main (Argc=3, Argv=0xbfc31528) at openssl.c:370

- --
regards

zbigniew jasinski
[SYStem OPerator]

.: www.dns.pl :.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJK4C+CAAoJEH26UYiRhe/gMQUP/3hJON0UCkdOnRL8SEeVl5Tg
IZ4tUXbvD60XIh+GBBerLBBehUJmct8YeGzZVZJ4RVH7pmRunvOl+nPuQz91KMzx
QNzd0SNFAT2IGZas+a3lnTXvONG/Ymd7eZtCQ8NZPeStE8TIy9GOhA9M4sAKjJ+v
wWGJaDmTh6v9fgHrX5KKGBExTymO9RdGK9tVZibengS6RluZtC+t7V0n8anzarZv
mfVQ9YHZfVrg5SbKD4B2NJBRmBr3KKKB2LQ1dJU17pFxRfxkozGdBZtBktZLOKR9
vO74r440osRFRA/ytv8sfoRandE9rh6H/4BMDDJWu+m1d8DKWXVfItba3s8ByMRS
j+8Rw1Hdl4XAKdxxHrViLifXCFIGWHLUobQ0hTqFLzX5T9AtcMpKdDqtdpLliah4
Swejr8W7JNzIzaOunxc3Nr4hyktHf5WoHkH+Nm8Pvia2pvzKrOkOUMfbWCU6eKbR
Pj88pbNu4Jt5oPSfP7j1+v8Yl/gW6u99AUVdUCiGtP1wy2/dY/DrwNtoRN3hDlvw
ZWda1HduzIxzn0J6Q00k78SGTclPTycxAsirvr7XSvE/ZLcWIW5MOJ8PCWbmiQlc
YxAVzNOnCyz25Le03lePjsaVcGOS0NXpYE/l4r61230gps/uM9yuipcGAFB7zRvf
mBPiLWRdcuFlvtvnqGyX
=ejpa
-----END PGP SIGNATURE-----




More information about the bind-users mailing list