From dcross@mobilocity.net  Mon Jul 24 09:18:20 2000
Return-Path: <dcross@mobilocity.net>
Received: from marconi.mobilocity.net (marconi.mobilocity.net [160.79.148.69])
	by hub.freebsd.org (Postfix) with ESMTP id D1F4737B8D3
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jul 2000 09:18:18 -0700 (PDT)
	(envelope-from dcross@mobilocity.net)
Received: from voltron.engr.mobilocity.net (unknown [160.79.148.94])
	by marconi.mobilocity.net (Postfix) with ESMTP id A1B688001
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jul 2000 12:18:16 -0400 (EDT)
Received: from ny002.mobilocity.net (unknown [192.168.0.73])
	by voltron.engr.mobilocity.net (Postfix) with ESMTP id 7F5C768A01
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jul 2000 12:18:16 -0400 (EDT)
Received: by ny002.mobilocity.net (Postfix, from userid 1000)
	id 8C0247C68; Mon, 24 Jul 2000 12:17:47 -0400 (EDT)
Message-Id: <20000724161747.8C0247C68@ny002.mobilocity.net>
Date: Mon, 24 Jul 2000 12:17:47 -0400 (EDT)
From: Dan Cross <dcross@mobilocity.net>
Reply-To: tenser@mobilocity.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: OpenSSL doesn't include RAND_* functions.
X-Send-Pr-Version: 3.2

>Number:         20142
>Category:       bin
>Synopsis:       OpenSSL doesn't include RAND_* functions.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kris
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 09:20:01 PDT 2000
>Closed-Date:    Sat Aug 12 17:10:10 PDT 2000
>Last-Modified:  Sat Aug 12 17:10:40 PDT 2000
>Originator:     Dan Cross
>Release:        FreeBSD 4.0-RELEASE i386, FreeBSD 4.0-STABLE i386
>Organization:
Mobilocity, Inc.
>Environment:

	FreeBSD 4.0-RELEASE and 4.0-STABLE on Intel.

>Description:

	The version of OpenSSL in the base distribution doesn't
	include the RAND_* functions.

>How-To-Repeat:

	I was compiling OpenSSH (from the ``portable'' distribution)
	in order to incorporate Kerberos 5 support.  The configure
	script dies when looking for OpenSSL.  The log shows that the
	``RAND_add'' and ``RAND_status'' functions are undefined in
	/usr/lib/libcrypto.{a,so}.  Nm seems to confirm this:

	: hurricane 219; nm -a lib*.a | grep RAND_add
	: hurricane 220; pwd
	/usr/lib
	: hurricane 221; 

	If I fake out make and install OpenSSL from ports, via, eg:
		make depend all install OSVERSION=400013
	it compiles RAND_add and other functions into the resulting
	library, and I can get OpenSSH to link against it.

>Fix:

	Well, I suppose just make sure that the build process
	for OpenSSL in the source tree is including those functions.
	Or perhaps not; the only place I've seen them used is in
	OpenSSH, but it easiest to compile in Kerberos 5 support
	via the portable version (presumably, the BSD version
	doesn't require those functions.  The source file using
	them doesn't even seem to be present in the OpenBSD tar-
	ball), since the patches one must apply were originally
	made against that.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->kris 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Jul 24 09:27:05 PDT 2000 
Responsible-Changed-Why:  
Over to the base system's openssl maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20142 
State-Changed-From-To: open->analyzed 
State-Changed-By: kris 
State-Changed-When: Sat Aug 12 17:04:48 PDT 2000 
State-Changed-Why:  
I can only assume there is something wrong with your copy of OpenSSL 
- did you install it from a binary distribution, or compile it from 
make world? All of my machines have the RAND_* symbols, and they're 
needed for regular operation. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20142 
State-Changed-From-To: analyzed->closed 
State-Changed-By: kris 
State-Changed-When: Sat Aug 12 17:10:10 PDT 2000 
State-Changed-Why:  
Submitter mail address bounced. 

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