Subject: lib/32226: openssl build uses wrong includes
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 12/03/2005 17:17:01
>Number:         32226
>Category:       lib
>Synopsis:       openssl build uses wrong includes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 03 17:17:01 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.13
>Organization:
>Environment:
any
Architecture: any
Machine: any
>Description:

In /usr/src/crypto/dist/openssl/crypto/Makefile the variable EXHEADER
lists a few header files, opensslconf.h among them, that are included
by the code via <openssl/$name.h>, but located in 
/usr/src/crypto/dist/openssl/crypto/* - so they can not be found via
-I options on the command line.

Instead it uses the /usr/include/openssl headers, which might not match
the new compiled version at all.

>How-To-Repeat:
Code inspection.

>Fix:
symlink into ${.CURDIR}/openssl and add -I . ?