Subject: lib/36665: Thread support is not enabled in NetBSD's OpenSSL
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <tron@zhadum.org.uk>
List: netbsd-bugs
Date: 07/18/2007 13:20:00
>Number:         36665
>Category:       lib
>Synopsis:       Thread support is not enabled in NetBSD's OpenSSL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 18 13:20:00 +0000 2007
>Originator:     Matthias Scheler
>Release:        NetBSD 4.0_BETA2
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 4.0_BETA2 NetBSD 4.0_BETA2 (COLWYN) #0: Mon Apr 30 16:00:23 BST 2007 tron@colwyn.zhadum.org.uk:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
The OpenSSL libraries distributed with NetBSD are not configure to support
threads. They can therefore not be used by multi-threaded applications.

Enabling them does *not* mean that the OpenSSL libraries will depend
on "libpthread". They will only provide a framework to register an
implementation of locking primitives.

>How-To-Repeat:
grep OPENSSL_THREADS /usr/include/openssl/opensslconf.h 

>Fix:
Configure OpenSSL including the "threads" option.