On Apr 16, 2010, at 19:40 , Andreas Jellinghaus wrote:
> Am Freitag 16 April 2010 01:16:47 schrieb Jan Just Keijser:
>> hi list,
>> 
>> I hate to answer my own question but I think I found it:
>> 
>> in opensc-0.11.13/src/pkcs11/openssl.c there's section
>> 
>> 106 void
>> 107 sc_pkcs11_register_openssl_mechanisms(struct sc_pkcs11_card *card)
>> 108 {
>> 109 #if OPENSSL_VERSION_NUMBER >= 0x10000000L
>> 110     /* FIXME: see openssl-1.0.0-beta3/engines/ccgost/README.gost */
>> 111     OPENSSL_config(NULL);
>> 112 #endif
>> 
>> I commented out the OPENSSL_config(NULL) and now it works ...
>> 
>> should this added as a patch? the FIXME seems to be to *remove* the
>> explicit call to OPENSSL_config; I can confirm that this works for both
>> openssl-1.0.0-beta4 and the official openssl-1.0.0 release
> 
> ah, ouch. thats a brown paperbag bug. thanks for finding and
> reporting.
> 
> I think this would be a very good reason for a new 0.11.* release.
Compatibility with OpenSSL 1.0 is a good reason for a new release but I've not 
yet understood if it really is a problem with OpenSC or OpenSSL (reading up)



-- 
Martin Paljak
http://martin.paljak.pri.ee
+3725156495

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to