Bug 79570 - Dynamic OpenSSL engine load disabled
Summary: Dynamic OpenSSL engine load disabled
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Simon L. B. Nielsen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 20:00 UTC by Ales Krenek
Modified: 2006-07-24 20:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.