On 2006.07.12 17:19:06 +0200, Alex Dupre wrote: > Simon L. Nielsen wrote: > >I have been working on preparing an import of OpenSSL 0.9.8b into the > >base system. Before actually doing the import I would like to get > >comments > > I haven't read the patch, but I'd like OpenSSL in base could load > dynamic engine modules (problem described in PR 79570). That is one of the things the patch enables. Actually the reason I started looking at an OpenSSL import in the first place was due to my initial pain with loading the opensc engine :-). It should actually be pretty simple to enable DSO support in [56]-STABLE, but I prefer to wait with that after the 0.9.8b import has settled in -CURRENT. The attached _untested_ patch (which can also be found at http://people.freebsd.org/~simon/patches/openssl-DSO-6STABLE.patch ) should do the trick. [simon_at_zaphod:~] openssl OpenSSL> version OpenSSL 0.9.8b 04 May 2006 OpenSSL> engine dynamic -pre SO_PATH:/usr/local/lib/engines/engine_pkcs11.so -pre ID:pkcs11 -pre LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/usr/local/lib/opensc-pkcs11.so (dynamic) Dynamic engine loading support [Success]: SO_PATH:/usr/local/lib/engines/engine_pkcs11.so [Success]: ID:pkcs11 [Success]: LIST_ADD:1 [Success]: LOAD [Success]: MODULE_PATH:/usr/local/lib/opensc-pkcs11.so Loaded: (pkcs11) pkcs11 engine -- Simon L. Nielsen
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC