Bug 79570

Summary: Dynamic OpenSSL engine load disabled
Product: Base System Reporter: Ales Krenek <ljocha>
Component: binAssignee: Simon L. B. Nielsen <simon>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.3-RELEASE   
Hardware: Any   
OS: Any   

Description Ales Krenek 2005-04-05 20:00:17 UTC
	
An attempt to load crypto engine dynamically into libcrypto fails.

The reason is that none of the available DSO methods is enabled --
when compiling /usr/src/crypto/openssl/crypto/dso/dso_openssl.c
DSO_METHOD_openssl() falls back to DSO_METHOD_null().

Having enabled DSO_METHOD_dlfcn (see Fix:) I managed to use the opensc
engine to access my hw token, hence I believe there is no serious reason
to disable this feature.

Fix: 

Make the symbols DSO_DLFCN, HAVE_DLFCN_H defined when compiling
in /usr/src/secure/lib/libcrypto
Comment 1 Simon L. B. Nielsen freebsd_committer freebsd_triage 2006-07-17 12:48:18 UTC
State Changed
From-To: open->patched

I enabled DSO support in -CURRENT and will MFC in one week.  Thanks for 
the report. 


Comment 2 Simon L. B. Nielsen freebsd_committer freebsd_triage 2006-07-17 12:48:18 UTC
Responsible Changed
From-To: freebsd-bugs->simon

I enabled DSO support in -CURRENT and will MFC in one week.  Thanks for 
the report.
Comment 3 Simon L. B. Nielsen freebsd_committer freebsd_triage 2006-07-24 20:50:11 UTC
State Changed
From-To: patched->closed

MFC'ed to RELENG_6, so it will appear in FreeBSD 6.2.