Bug 16557

Summary: rsa.h missing from /usr/include/openssl
Product: Base System Reporter: Patrick M. Hausen <hausen>
Component: binAssignee: Kris Kennaway <kris>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description Patrick M. Hausen 2000-02-07 14:30:00 UTC
	OpenSSL is now part of the base system. For some
	reason (patent issues?) rsa.h is not installed in
	/usr/include/openssl.

	This makes e.g. /usr/ports/security/openssh installation fail.

Fix: 

Either install rsa.h with the base system depending on
	$USA_RESIDENT setting in /etc/make.conf or change all ports
	that require OpenSSL and rsa.h.
How-To-Repeat: 
	ardbeg# uname -a
	FreeBSD ardbeg.komma.de 4.0-CURRENT FreeBSD 4.0-CURRENT #6: Mon Feb  7 12:52:11 CET 2000     root@ardbeg.komma.de:/usr/src/sys/compile/ARDBEG  i386
	ardbeg# cd /usr/ports/security/openssh
	ardbeg# make install
Comment 1 dan freebsd_committer freebsd_triage 2000-02-07 19:48:23 UTC
Responsible Changed
From-To: freebsd-bugs->kris

This is Kris's area. 

Comment 2 Patrick M. Hausen 2000-02-09 08:31:52 UTC
Hi!

Followup: Christian Weissgerber ran into the same problem.
Seems like theoretically everything should work as follows:

	cvsup from US server, set USA_RESIDENT to "YES", RSAREF
	is installed

or

	cvsup from international server, set USA_RESIDENT to "NO",
	free RSA lib is installed.

For some reason cvsup.de.freebsd.org carries US crypto sources.
Net effect is: no RSA is installed when USA_RESIDENT is set to "NO",
but no complaint/error message either.

So, either cleanup cvsup mirrors or maybe install RSA whenever
USA_RESIDENT is set to "NO" regardless where the sources came
from. The implementation is in the OpenSSL sources anyway, just use it ;-)
And use RSAREF instead if you're USA_RESIDENT.

Regards,
Patrick
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2000-03-18 01:48:55 UTC
State Changed
From-To: open->feedback

Waiting for feedback from submitter that the problem persists. 
Comment 4 Kris Kennaway freebsd_committer freebsd_triage 2000-04-24 02:24:53 UTC
State Changed
From-To: feedback->closed

Haven't heard from originator in the past month; assuming problem resolved.