openssl >= 1.0 doesn't work with pkcs11 engine :( Reproducible: Always Steps to Reproduce: 1. emerge openssl 2. emerge dev-libs/engine_pkcs11 3. openssl engine -t (with openssl.cnf good) Actual Results: Error configuring OpenSSL 119891364931272:error:260AC089:engine routines:INT_CTRL_HELPER:invalid cmd name:eng_ctrl.c:134: 119891364931272:error:260AB089:engine routines:ENGINE_ctrl_cmd_string:invalid cmd name:eng_ctrl.c:316: 119891364931272:error:260BC066:engine routines:INT_ENGINE_CONFIGURE:engine configuration error:eng_cnf.c:204:section=pkcs11_section, name=oid_section, value=new_oids 119891364931272:error:0E07606D:configuration file routines:MODULE_RUN:module initialization error:conf_mod.c:235:module=engines, value=engine_section, retcode=-1 Expected Results: list pkcs11 as an engine seems a trouble in the init of the engine see : http://www.listware.net/201004/openssl-users/57934-enginepkcs11-and-opensslcnf.html
find a patch from upstream (cvs or bug tracker) to fix the issue. we dont have pkcs11 devices to test with, nor are we going to be patching openssl with random changes from the internet.