From owner-freebsd-security Wed May 9 3:51:28 2001 Delivered-To: freebsd-security@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 4BAD637B422 for ; Wed, 9 May 2001 03:51:24 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 44307 invoked by uid 1000); 9 May 2001 10:50:52 -0000 Date: Wed, 9 May 2001 13:50:52 +0300 From: Peter Pentchev To: Rasputin Cc: security@freebsd.org Subject: Re: setkey(3) not present in the system Message-ID: <20010509135052.A44191@ringworld.oblivion.bg> Mail-Followup-To: Rasputin , security@freebsd.org References: <20010509104313.A47276@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010509104313.A47276@dogma.freebsd-uk.eu.org>; from rara.rasputin@virgin.net on Wed, May 09, 2001 at 10:43:13AM +0100 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, May 09, 2001 at 10:43:13AM +0100, Rasputin wrote: > > Morning all. > I'm trying to port a WAP gateway to BSD, I've managed to get it to roll > a binary, but want to quench these warnings before I submit it. > (see bottom) > > I know how to sort out mktemp() and gets(), anyone know where f_prealloc() > lives? [roam@ringworld:v0 /usr/lib]$ nm -ao *.a | fgrep f_prealloc libc.a:findfp.o:00000154 T f_prealloc libc_p.a:findfp.po:00000160 T f_prealloc libc_pic.a:findfp.So:00000180 T f_prealloc libc_r.a:findfp.o:00000160 T f_prealloc libc_r_p.a:findfp.po:0000016c T f_prealloc [roam@ringworld:v0 /usr/lib]$ Looks like it's in libc. The /usr/src/lib/libc/stdio/findfp.c file, though, contains comments which seem to indicate that f_prealloc() is an internal stdio function, not intended to be used by anything other than stdio. > Anyway, the main reason I mailed this list is the 4 crypto functions > don't seem to be implemented on my box - is that just me? > If so, how do I get them into the c library? > I'm not a USA resident , and used to have a line saying that in make.conf back in > 4.0-RELEASE. Since then I've removed the line. > > Anybody know where I can get these functions? Ever tried man 3 setkey? :) It mentions the "FreeSec Crypt Library (libcipher, -lcipher)" as the very first thing after the function name :) G'luck, Peter -- This would easier understand fewer had omitted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message