ports/138881: Hardware acceleration not working for openssl port

Larry Baird lab at gta.com
Wed Sep 16 15:30:04 UTC 2009


>Number:         138881
>Category:       ports
>Synopsis:       Hardware acceleration not working for openssl port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 16 15:30:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Larry Baird
>Release:        6,7,8,9
>Organization:
GTA, Inc.
>Environment:
FreeBSD griffin.gta.com 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Mon Sep 14 07:39:19 EDT 2009     root at griffin.gta.com:/usr/src/sys/i386/compile/GRIFFIN  i386
>Description:
Code using openssl-0.9.8k_3 from ports does NOT get accelerated after a call to:
    ENGINE_setup_bsd_cryptodev()
>How-To-Repeat:

>Fix:
Problem seems to be with FreeBSD patch file /usr/ports/security/openssl/files/patch-eng_cryptodev.c.

This patch modifies the function get_dev_crypto() in the file eng_cryptodev.c to
close 'fd' open success.  Removing the close() from the FreeBSD patch allows openssl to be accelerated.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list