From ljocha@balkis.ics.muni.cz  Tue Apr  5 18:56:17 2005
Return-Path: <ljocha@balkis.ics.muni.cz>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3096F16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Apr 2005 18:56:17 +0000 (GMT)
Received: from relay.netbox.cz (relay2.netbox.cz [83.240.0.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 76F7543D5C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Apr 2005 18:56:16 +0000 (GMT)
	(envelope-from ljocha@balkis.ics.muni.cz)
Received: from localhost (localhost [127.0.0.1])
	by localhost.netbox.cz (Postfix) with ESMTP id D1C2C37B9D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Apr 2005 20:56:14 +0200 (CEST)
Received: from relay.netbox.cz ([127.0.0.1])
	by localhost (relay [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 22529-01-71 for <FreeBSD-gnats-submit@freebsd.org>;
	Tue, 5 Apr 2005 20:56:12 +0200 (CEST)
Received: from balkis.ics.muni.cz (107.253.254.dial.nbox.priv [10.254.253.107])
	by relay.netbox.cz (Postfix) with ESMTP id 926A037B07
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Apr 2005 20:56:07 +0200 (CEST)
Received: from balkis.ics.muni.cz (localhost [127.0.0.1])
	by balkis.ics.muni.cz (8.13.1/8.13.1) with ESMTP id j35ItSRq021717
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 5 Apr 2005 20:55:38 +0200 (CEST)
	(envelope-from ljocha@balkis.ics.muni.cz)
Received: (from ljocha@localhost)
	by balkis.ics.muni.cz (8.13.1/8.13.1/Submit) id j35IntXY021561;
	Tue, 5 Apr 2005 20:49:55 +0200 (CEST)
	(envelope-from ljocha)
Message-Id: <200504051849.j35IntXY021561@balkis.ics.muni.cz>
Date: Tue, 5 Apr 2005 20:49:55 +0200 (CEST)
From: Ales Krenek <ljocha@ics.muni.cz>
Reply-To: Ales Krenek <ljocha@ics.muni.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Dynamic OpenSSL engine load disabled
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79570
>Category:       bin
>Synopsis:       Dynamic OpenSSL engine load disabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    simon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 05 19:00:17 GMT 2005
>Closed-Date:    Mon Jul 24 19:50:38 GMT 2006
>Last-Modified:  Mon Jul 24 19:50:38 GMT 2006
>Originator:     Ales Krenek
>Release:        FreeBSD 5.3-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD balkis.ics.muni.cz 5.3-RELEASE-p6 FreeBSD 5.3-RELEASE-p6 #6: Thu Mar 31 16:10:23 CEST 2005 toor@balkis.ics.muni.cz:/usr/5.3/src/sys/i386/compile/BALKIS i386


	
>Description:
	
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.


>How-To-Repeat:
	
>Fix:

Make the symbols DSO_DLFCN, HAVE_DLFCN_H defined when compiling
in /usr/src/secure/lib/libcrypto
	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: simon 
State-Changed-When: Mon Jul 17 11:48:18 UTC 2006 
State-Changed-Why:  
I enabled DSO support in -CURRENT and will MFC in one week.  Thanks for 
the report. 


Responsible-Changed-From-To: freebsd-bugs->simon 
Responsible-Changed-By: simon 
Responsible-Changed-When: Mon Jul 17 11:48:18 UTC 2006 
Responsible-Changed-Why:  
I enabled DSO support in -CURRENT and will MFC in one week.  Thanks for 
the report. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79570 
State-Changed-From-To: patched->closed 
State-Changed-By: simon 
State-Changed-When: Mon Jul 24 19:50:11 UTC 2006 
State-Changed-Why:  
MFC'ed to RELENG_6, so it will appear in FreeBSD 6.2. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79570 
>Unformatted:
