From owner-freebsd-bugs Mon Jul 24 9:20: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E3A9937B54A for ; Mon, 24 Jul 2000 09:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA62046; Mon, 24 Jul 2000 09:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from marconi.mobilocity.net (marconi.mobilocity.net [160.79.148.69]) by hub.freebsd.org (Postfix) with ESMTP id D1F4737B8D3 for ; 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 ; 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 ; 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 Reply-To: tenser@mobilocity.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/20142: OpenSSL doesn't include RAND_* functions. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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