Date: Mon, 24 Jul 2000 12:17:47 -0400 (EDT) From: Dan Cross <dcross@mobilocity.net> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/20142: OpenSSL doesn't include RAND_* functions. Message-ID: <20000724161747.8C0247C68@ny002.mobilocity.net>
next in thread | raw e-mail | index | archive | help
>Number: 20142
>Category: bin
>Synopsis: OpenSSL doesn't include RAND_* functions.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 24 09:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000724161747.8C0247C68>
